Skip to content

Commit

Permalink
Use GitHub action variable for latest SHA on deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
benvinegar committed Feb 15, 2024
1 parent 5e61e44 commit 8b3fdc8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ jobs:
- uses: cloudflare/wrangler-action@v3
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
command: deploy --var VERSION:$(git rev-parse HEAD)
command: deploy --var VERSION:${{ github.sha }}

0 comments on commit 8b3fdc8

Please sign in to comment.