diff --git a/.gitea/workflows/release.yaml b/.gitea/workflows/release.yaml index 61a7e74..914a843 100644 --- a/.gitea/workflows/release.yaml +++ b/.gitea/workflows/release.yaml @@ -18,12 +18,12 @@ jobs: steps: - name: Checkout code uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 - with: - submodules: true - fetch-depth: 0 - - name: Update submodules - run: git submodule update --init --recursive + - name: Checkout submodules with auth + 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 run: ls -la app/ @@ -64,12 +64,12 @@ jobs: steps: - name: Checkout code uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 - with: - submodules: true - fetch-depth: 0 - - name: Update submodules - run: git submodule update --init --recursive + - name: Checkout submodules with auth + 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 uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093