fix: configure git to use HTTPS token auth for submodules
This commit is contained in:
parent
e1a1925399
commit
ff356d58ba
1 changed files with 12 additions and 0 deletions
|
|
@ -28,6 +28,10 @@ jobs:
|
||||||
MIX_ENV: test
|
MIX_ENV: test
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
- name: Configure git for submodules
|
||||||
|
run: |
|
||||||
|
git config --global url."https://oauth2:${{ secrets.FORGEJO_TOKEN }}@git.mcintire.me/".insteadOf "ssh://git@git.mcintire.me/"
|
||||||
|
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: https://code.forgejo.org/actions/checkout@v4
|
uses: https://code.forgejo.org/actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
|
|
@ -83,6 +87,10 @@ jobs:
|
||||||
MIX_ENV: dev
|
MIX_ENV: dev
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
- name: Configure git for submodules
|
||||||
|
run: |
|
||||||
|
git config --global url."https://oauth2:${{ secrets.FORGEJO_TOKEN }}@git.mcintire.me/".insteadOf "ssh://git@git.mcintire.me/"
|
||||||
|
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: https://code.forgejo.org/actions/checkout@v4
|
uses: https://code.forgejo.org/actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
|
|
@ -123,6 +131,10 @@ jobs:
|
||||||
if: github.event_name == 'push'
|
if: github.event_name == 'push'
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
- name: Configure git for submodules
|
||||||
|
run: |
|
||||||
|
git config --global url."https://oauth2:${{ secrets.FORGEJO_TOKEN }}@git.mcintire.me/".insteadOf "ssh://git@git.mcintire.me/"
|
||||||
|
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: https://code.forgejo.org/actions/checkout@v4
|
uses: https://code.forgejo.org/actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue