From 0523d652b4a82c295566206b4fdd21d7df800c89 Mon Sep 17 00:00:00 2001 From: Christopher Willis-Ford <7019101+cwillisf@users.noreply.github.com> Date: Tue, 14 Nov 2023 14:47:57 -0800 Subject: [PATCH] ci: fix Fastly purge step --- .github/workflows/ci-cd.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml index 34c282c..23c80b7 100644 --- a/.github/workflows/ci-cd.yml +++ b/.github/workflows/ci-cd.yml @@ -29,8 +29,6 @@ jobs: AWS_REGION: ${{ secrets.AWS_REGION }} S3_BUCKET_NAME: ${{ secrets.S3_BUCKET_NAME }} TRIGGER_DEPLOY: ${{ startsWith(github.ref, 'refs/heads/master') }} - FASTLY_API_TOKEN: ${{ secrets.FASTLY_KEY }} - FASTLY_SERVICE_ID: ${{ secrets.FASTLY_SERVICE_ID }} steps: - uses: actions/checkout@v4 @@ -70,4 +68,4 @@ jobs: - name: Purge Fastly Cache if: github.ref == 'refs/heads/master' run: | - curl -X POST -H "Fastly-Key: ${{ secrets.FASTLY_API_TOKEN }}" https://api.fastly.com/service/${{ secrets.FASTLY_SERVICE_ID }}/purge_all + curl -X POST -H "Fastly-Key: ${{ secrets.FASTLY_KEY }}" https://api.fastly.com/service/${{ secrets.FASTLY_SERVICE_ID }}/purge_all