Skip to content

Commit

Permalink
Workflow fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mszula committed Jan 2, 2024
1 parent 28869df commit a8391df
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/build-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set outputs
id: vars
run: echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
- name: Set up Node
uses: actions/setup-node@v3
with:
Expand All @@ -24,7 +27,7 @@ jobs:
run: npm ci
- name: Build
env:
VITE_GIT_COMMIT_REF: "${GITHUB_SHA::7}"
VITE_GIT_COMMIT_REF: ${{ steps.vars.outputs.sha_short }}
run: npm run gh-pages-build
- name: Setup Pages
uses: actions/configure-pages@v3
Expand Down

0 comments on commit a8391df

Please sign in to comment.