Skip to content

Commit

Permalink
Merge pull request #108 from scpwiki/cdn
Browse files Browse the repository at this point in the history
New CDN workflow updates
  • Loading branch information
emmiegit authored Aug 6, 2024
2 parents d3cf1bf + 6bff088 commit b7884c4
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,11 @@ jobs:
- name: Install dependencies
run: npm ci

- name: Install doctl
uses: digitalocean/action-doctl@v2
with:
token: ${{ secrets.DIGITALOCEAN_ACCESS_TOKEN }}

- name: Build
run: ./build.sh

Expand All @@ -52,11 +57,6 @@ jobs:
AWS_ENDPOINT_URL: 'https://${{ vars.DIGITALOCEAN_SPACES_REGION }}.digitaloceanspaces.com'
AWS_DEFAULT_REGION: 'us-east-1'

- name: Install doctl
uses: digitalocean/action-doctl@v2
with:
token: ${{ secrets.DIGITALOCEAN_ACCESS_TOKEN }}

- name: Invalidate Spaces Cache
run: doctl compute cdn flush $DIGITALOCEAN_CDN_ID
env:
Expand Down

0 comments on commit b7884c4

Please sign in to comment.