0
0
mirror of https://github.com/yude-jp/yude.jp synced 2024-12-22 20:20:09 +09:00

Fix GitHub Actions

This commit is contained in:
yude 2021-02-06 02:54:09 +09:00
parent f5da6d1721
commit 8c300fbe43

View File

@ -1,4 +1,4 @@
name: Build and Deploy
name: Cloudflare Workers
on:
push:
@ -6,7 +6,8 @@ on:
- master
jobs:
build:
build-and-deploy:
name: Build and Deploy
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
@ -36,15 +37,12 @@ jobs:
- name: add nojekyll
run: touch ./out/.nojekyll
deploy:
runs-on: ubuntu-latest
needs: build
steps:
- uses: actions/checkout@v2
- name: Publish
uses: cloudflare/wrangler-action@1.3.0
env:
USER: root
with:
apiToken: ${{ secrets.CF_API_TOKEN }}
workingDirectory: './out'
- uses: actions/checkout@v2
- name: Publish
uses: cloudflare/wrangler-action@1.3.0
env:
USER: root
with:
apiToken: ${{ secrets.CF_API_TOKEN }}
workingDirectory: './out'