Skip to content

Merge pull request #2936 from contentful/dependabot/npm_and_yarn/main… #21

Merge pull request #2936 from contentful/dependabot/npm_and_yarn/main…

Merge pull request #2936 from contentful/dependabot/npm_and_yarn/main… #21

Workflow file for this run

name: Deploy CDN to Fastly Compute
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- 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 }}