From 8b3fdc8c164402ef7a4a33227f0072b02d621120 Mon Sep 17 00:00:00 2001 From: Ben Vinegar <2153+benvinegar@users.noreply.github.com> Date: Wed, 14 Feb 2024 23:51:53 -0500 Subject: [PATCH] Use GitHub action variable for latest SHA on deploy --- .github/workflows/cd.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/cd.yaml b/.github/workflows/cd.yaml index 3d035bfa..93cbf1ee 100644 --- a/.github/workflows/cd.yaml +++ b/.github/workflows/cd.yaml @@ -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 }}