diff --git a/.github/workflows/api.yml b/.github/workflows/api.yml index 5072a2be..6ee87c3e 100644 --- a/.github/workflows/api.yml +++ b/.github/workflows/api.yml @@ -30,7 +30,7 @@ jobs: # GitHub Actions does not support cloning to a custom path. - name: Copy repo run: | - cp -R /__w/${GITHUB_REPOSITORY#*/}/${GITHUB_REPOSITORY#*/} /app + cp -R ${GITHUB_WORKSPACE} /app - name: Set up Environment variables run: | echo 'BE_BASE_URL=${{ inputs.be_url }}' >> $GITHUB_ENV diff --git a/.github/workflows/export_config.yml b/.github/workflows/export_config.yml index 2bdc8436..3402aa56 100644 --- a/.github/workflows/export_config.yml +++ b/.github/workflows/export_config.yml @@ -34,7 +34,7 @@ jobs: - name: Copy repo run: | chown -R $(id -u):$(id -g) $PWD - cp -R /__w/${GITHUB_REPOSITORY#*/}/${GITHUB_REPOSITORY#*/} /app + cp -R ${GITHUB_WORKSPACE} /app - name: Run export script run: | cd /app diff --git a/.github/workflows/force_push_to_uat.yml b/.github/workflows/force_push_to_uat.yml index 7f1397f8..ab53840d 100644 --- a/.github/workflows/force_push_to_uat.yml +++ b/.github/workflows/force_push_to_uat.yml @@ -40,6 +40,6 @@ jobs: fi - name: Force push run: | - cd /__w/${GITHUB_REPOSITORY#*/}/${GITHUB_REPOSITORY#*/} + cd ${GITHUB_WORKSPACE} chmod +x .circleci/force-push-to-uat.sh .circleci/force-push-to-uat.sh \ No newline at end of file diff --git a/.github/workflows/tide_build.yml b/.github/workflows/tide_build.yml index 3629739b..b68ef9a4 100644 --- a/.github/workflows/tide_build.yml +++ b/.github/workflows/tide_build.yml @@ -74,7 +74,7 @@ jobs: # GitHub Actions does not support cloning to a custom path. - name: Copy repo run: | - cp -R /__w/${GITHUB_REPOSITORY#*/}/${GITHUB_REPOSITORY#*/} /app + cp -R ${GITHUB_WORKSPACE} /app - name: Run build script run: | /app/.circleci/build.sh