Skip to content

Commit

Permalink
Use correct SHA of checked out repository
Browse files Browse the repository at this point in the history
  • Loading branch information
gzurowski committed May 31, 2024
1 parent 63aad64 commit fcdb38b
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ jobs:
with:
ref: ${{ github.event.inputs.git_ref }}

- name: Set short Git SHA
run: |
echo "SHORT_GIT_SHA=backend-$(git rev-parse HEAD | cut -c1-8)" >> "$GITHUB_ENV"
- name: Checkout deploy repository
uses: actions/checkout@v4
with:
Expand All @@ -29,9 +33,6 @@ jobs:
path: researchhub-internal-utils
token: ${{ secrets.PAT }}

- name: Set short Git SHA
run: echo "SHORT_GIT_SHA=backend-$(echo $GITHUB_SHA | cut -c1-8)" >> "$GITHUB_ENV"

- name: Copy Beanstalk configuration files
run: |
cp -r researchhub-internal-utils/deploy/backend/config/.ebextensions \
Expand Down

0 comments on commit fcdb38b

Please sign in to comment.