Skip to content

Change pnpm to npm

Change pnpm to npm #36

Workflow file for this run

name: Deploy Cloudflare Worker Function
on:
push:
branches:
- master
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Build & Deploy Worker
uses: cloudflare/wrangler-action@v3
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
secrets: |
MASTODON_TOKEN
env:
MASTODON_TOKEN: ${{ secrets.MASTODON_ACCESS_KEY }}