Skip to content

fix cache post

fix cache post #82

Workflow file for this run

name: Deploy
on:
push:
branches:
- master
workflow_dispatch:
jobs:
deploy:
runs-on: ubuntu-latest
name: Deploy
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 18
- name: Install dependencies
run: npm i
- name: Lint
run: npm run lint
- name: Type
run: npm run check-types
- name: Publish
uses: cloudflare/wrangler-action@2.0.0
with:
apiToken: ${{ secrets.CF_API_TOKEN }}
accountId: ${{ secrets.CF_ACCOUNT_ID }}
command: publish dist/index.js
secrets: PASSWORD
env:
PASSWORD: ${{ secrets.PASSWORD }}