mirror of
https://github.com/movie-web/simple-proxy.git
synced 2025-09-13 10:43:26 +00:00
Initial setup
This commit is contained in:
18
.github/workflows/cloudflare.yml
vendored
Normal file
18
.github/workflows/cloudflare.yml
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
# Docs: https://github.com/marketplace/actions/deploy-to-cloudflare-workers-with-wrangler
|
||||
name: Deploy Worker
|
||||
on:
|
||||
push:
|
||||
pull_request:
|
||||
repository_dispatch:
|
||||
jobs:
|
||||
deploy:
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 60
|
||||
needs: test
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Build & Deploy Worker
|
||||
uses: cloudflare/wrangler-action@2.0.0
|
||||
with:
|
||||
apiToken: ${{ secrets.CF_API_TOKEN }}
|
||||
accountId: ${{ secrets.CF_ACCOUNT_ID }}
|
Reference in New Issue
Block a user