Files
cloudflare-docker-proxy/.github/workflows/deploy.yaml
Yisheng Cai 9ae8f6464f Fix registry no need auth (#3)
* Migrate to wrangler2

* Support registry no need auth
2023-03-05 23:26:15 +08:00

27 lines
585 B
YAML

name: Deploy to Cloudflare Workers
on:
push:
branches:
- master
paths-ignore:
- '**.md'
repository_dispatch:
jobs:
build-and-deploy:
runs-on: ubuntu-latest
name: Build & Deploy
steps:
- uses: actions/checkout@v2
- name: Use Node.js
uses: actions/setup-node@v1
with:
node-version: "12.x"
- run: npm install
- name: Publish
uses: cloudflare/wrangler-action@2.0.0
with:
apiToken: ${{ secrets.CF_API_TOKEN }}
env:
CF_ACCOUNT_ID: ${{secrets.CF_ACCOUNT_ID}}