Skip to content

Commit

Permalink
build: use commit hash
Browse files Browse the repository at this point in the history
  • Loading branch information
jpoehnelt committed Mar 28, 2024
1 parent a01bcac commit aa625fd
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,17 +25,14 @@ jobs:
outputs:
url: ${{ steps.preview.outputs.url }}
steps:
- id: env
run: |
echo "environment=${{ github.ref == 'refs/heads/main' && 'production' || 'preview' }}" >> $GITHUB_OUTPUT
- name: wait
id: preview
uses: WalshyDev/cf-pages-await@v1
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
project: jpoehnelt
environment: ${{ steps.env.outputs.environment }}
commitHash: ${{ github.sha }}
lighthouse:
if: ${{ github.actor != 'dependabot[bot]' }}
runs-on: ubuntu-latest
Expand Down

0 comments on commit aa625fd

Please sign in to comment.