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
|
||||
|
||||
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
|
||||
uses: https://code.forgejo.org/actions/checkout@v4
|
||||
with:
|
||||
|
|
@ -83,6 +87,10 @@ jobs:
|
|||
MIX_ENV: dev
|
||||
|
||||
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
|
||||
uses: https://code.forgejo.org/actions/checkout@v4
|
||||
with:
|
||||
|
|
@ -123,6 +131,10 @@ jobs:
|
|||
if: github.event_name == 'push'
|
||||
|
||||
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
|
||||
uses: https://code.forgejo.org/actions/checkout@v4
|
||||
with:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue