mirror of https://github.com/Lissy93/dashy.git
Create cloudflare-deploy.yml
This commit is contained in:
parent
7b9fd97433
commit
2c6799125f
|
@ -0,0 +1,17 @@
|
||||||
|
name: Build
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
pull_request:
|
||||||
|
repository_dispatch:
|
||||||
|
jobs:
|
||||||
|
deploy:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
timeout-minutes: 60
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@master
|
||||||
|
- name: Build site
|
||||||
|
run: 'yarn && Yarn build'
|
||||||
|
- name: Publish
|
||||||
|
uses: cloudflare/wrangler-action@1.2.0
|
||||||
|
with:
|
||||||
|
apiToken: ${{ secrets.CF_API_TOKEN }}
|
Loading…
Reference in New Issue