Skip to content

armgit / dashy

Public Imported from GitHub
0

πŸš€ A self-hostable personal dashboard built for you. Includes status-checking, widgets, themes, icon packs, a UI editor and tons more!

Create cloudflare-deploy.yml

Alicia Sykes2c6799125f1c
diff --git a/.github/workflows/cloudflare-deploy.yml b/.github/workflows/cloudflare-deploy.yml
new file mode 100644
index 00000000..2cfb0c40
--- /dev/null
+++ b/.github/workflows/cloudflare-deploy.yml
@@ -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/[email protected]
+ with:
+ apiToken: ${{ secrets.CF_API_TOKEN }}