mirror of
https://github.com/yude-jp/yude.jp
synced 2024-12-23 04:30:11 +09:00
19 lines
366 B
YAML
19 lines
366 B
YAML
|
name: Deploy to Cloudflare Workers
|
||
|
|
||
|
on:
|
||
|
push:
|
||
|
branches:
|
||
|
- master
|
||
|
|
||
|
jobs:
|
||
|
deploy-cf:
|
||
|
runs-on: ubuntu-latest
|
||
|
steps:
|
||
|
- uses: actions/checkout@v2
|
||
|
- name: Publish
|
||
|
uses: cloudflare/wrangler-action@1.3.0
|
||
|
env:
|
||
|
USER: root
|
||
|
with:
|
||
|
apiToken: ${{ secrets.CF_API_TOKEN }}
|
||
|
workingDirectory: './'
|