Skip to content

Commit

Permalink
feat: add short sha as release in staging deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
thenick775 committed Dec 15, 2024
1 parent 49c7b41 commit 148068a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/deploy-pages.workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,15 @@ jobs:
runs-on: ubuntu-latest

steps:
- id: set-release-version
run: echo "RELEASE_VERSION=${GITHUB_SHA::7}" >> $GITHUB_ENV

- id: build-publish
uses: bitovi/github-actions-react-to-github-pages@v1.2.4
with:
checkout-sparse-checkout: gbajs3
checkout-sparse-checkout-cone-mode: false
install_command: cd ./gbajs3 && npm ci
path: ./gbajs3/dist
env:
VITE_GBA_RELEASE_VERSION: ${{ env.RELEASE_VERSION }}

0 comments on commit 148068a

Please sign in to comment.