Skip to content

Commit cebb687

Browse files
Replace references to 'GITHUB_REPOSITORY' to 'GITHUB_WORKSPACE' (#59)
* Add debug step to test using workflow * Use simpler cp to app directory * Add debug step to test using workflow * Replace references to 'GITHUB_REPOSITORY' to 'GITHUB_WORKSPACE'
1 parent f7f5798 commit cebb687

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

.github/workflows/api.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
# GitHub Actions does not support cloning to a custom path.
3131
- name: Copy repo
3232
run: |
33-
cp -R /__w/${GITHUB_REPOSITORY#*/}/${GITHUB_REPOSITORY#*/} /app
33+
cp -R ${GITHUB_WORKSPACE} /app
3434
- name: Set up Environment variables
3535
run: |
3636
echo 'BE_BASE_URL=${{ inputs.be_url }}' >> $GITHUB_ENV

.github/workflows/export_config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
- name: Copy repo
3535
run: |
3636
chown -R $(id -u):$(id -g) $PWD
37-
cp -R /__w/${GITHUB_REPOSITORY#*/}/${GITHUB_REPOSITORY#*/} /app
37+
cp -R ${GITHUB_WORKSPACE} /app
3838
- name: Run export script
3939
run: |
4040
cd /app

.github/workflows/force_push_to_uat.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,6 @@ jobs:
4040
fi
4141
- name: Force push
4242
run: |
43-
cd /__w/${GITHUB_REPOSITORY#*/}/${GITHUB_REPOSITORY#*/}
43+
cd ${GITHUB_WORKSPACE}
4444
chmod +x .circleci/force-push-to-uat.sh
4545
.circleci/force-push-to-uat.sh

.github/workflows/tide_build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ jobs:
7474
# GitHub Actions does not support cloning to a custom path.
7575
- name: Copy repo
7676
run: |
77-
cp -R /__w/${GITHUB_REPOSITORY#*/}/${GITHUB_REPOSITORY#*/} /app
77+
cp -R ${GITHUB_WORKSPACE} /app
7878
- name: Run build script
7979
run: |
8080
/app/.circleci/build.sh

0 commit comments

Comments
 (0)