fix: submodule checkout with token auth
This commit is contained in:
@@ -18,12 +18,12 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5
|
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5
|
||||||
with:
|
|
||||||
submodules: true
|
|
||||||
fetch-depth: 0
|
|
||||||
|
|
||||||
- name: Update submodules
|
- name: Checkout submodules with auth
|
||||||
run: git submodule update --init --recursive
|
run: |
|
||||||
|
git submodule init
|
||||||
|
git submodule set-url app "https://${{ gitea.actor }}:${{ gitea.token }}@git.datadunia.com/hainzero/WGRplane.git"
|
||||||
|
git submodule update --init --recursive
|
||||||
|
|
||||||
- name: Debug - List app directory
|
- name: Debug - List app directory
|
||||||
run: ls -la app/
|
run: ls -la app/
|
||||||
@@ -64,12 +64,12 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5
|
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5
|
||||||
with:
|
|
||||||
submodules: true
|
|
||||||
fetch-depth: 0
|
|
||||||
|
|
||||||
- name: Update submodules
|
- name: Checkout submodules with auth
|
||||||
run: git submodule update --init --recursive
|
run: |
|
||||||
|
git submodule init
|
||||||
|
git submodule set-url app "https://${{ gitea.actor }}:${{ gitea.token }}@git.datadunia.com/hainzero/WGRplane.git"
|
||||||
|
git submodule update --init --recursive
|
||||||
|
|
||||||
- name: Download all artifacts
|
- name: Download all artifacts
|
||||||
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093
|
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093
|
||||||
|
|||||||
Reference in New Issue
Block a user