mirror of
https://github.com/Lissy93/dashy.git
synced 2024-12-24 01:12:06 +03:00
Create cloudflare-deploy.yml
This commit is contained in:
parent
7b9fd97433
commit
2c6799125f
17
.github/workflows/cloudflare-deploy.yml
vendored
Normal file
17
.github/workflows/cloudflare-deploy.yml
vendored
Normal file
@ -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
Block a user