Skip to content

Merge branch 'categories' #60

Merge branch 'categories'

Merge branch 'categories' #60

Workflow file for this run

name: Deploy Cloudflare Worker
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
name: Deploy
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v3
with:
node-version: 16.13.0
cache: 'yarn'
- run: yarn install --frozen-lockfile
- name: Publish
uses: cloudflare/wrangler-action@2.0.0
with:
apiToken: ${{ secrets.CF_API_TOKEN }}
secrets: |
UNSPLASH_ACCESS_KEY
TINIFY_API_KEY
env:
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
UNSPLASH_ACCESS_KEY: ${{ secrets.UNSPLASH_ACCESS_KEY }}
TINIFY_API_KEY: ${{ secrets.TINIFY_API_KEY }}