Skip to content

Commit

Permalink
feat: add GH workflow to deploy cdn
Browse files Browse the repository at this point in the history
  • Loading branch information
andipaetzold committed Oct 22, 2024
1 parent d7a2df8 commit 5eaaf5b
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/deploy-cdn.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Deploy CDN to Fastly Compute
on:
pull_request:
branches:
- CFISO-1735-cdn
- main

jobs:
deploy:
Expand All @@ -12,10 +12,10 @@ jobs:
- uses: actions/checkout@v4
- name: Install dependencies
run: npm ci --workspace=@contentful/f36-cdn
# - name: Deploy to Compute
# uses: fastly/compute-actions@v8
# with:
# project_directory: packages/cdn
# service_id: ${{ secrets.CDN_FASTLY_SERVICE_ID }}
# env:
# FASTLY_API_TOKEN: ${{ secrets.CDN_FASTLY_TOKEN }}
- name: Deploy to Compute
uses: fastly/compute-actions@v8
with:
project_directory: packages/cdn
service_id: ${{ secrets.CDN_FASTLY_SERVICE_ID }}
env:
FASTLY_API_TOKEN: ${{ secrets.CDN_FASTLY_TOKEN }}

0 comments on commit 5eaaf5b

Please sign in to comment.