Skip to content

Commit

Permalink
Replace references to 'GITHUB_REPOSITORY' to 'GITHUB_WORKSPACE' (#59)
Browse files Browse the repository at this point in the history
* 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'
  • Loading branch information
anthony-malkoun authored Dec 19, 2024
1 parent f7f5798 commit cebb687
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/export_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/force_push_to_uat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion .github/workflows/tide_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit cebb687

Please sign in to comment.