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!

Adds GH action to build + deploy the master branch

Alicia Sykesddd89149e447
diff --git a/.github/workflows/build-deploy-dev-demo.yml b/.github/workflows/build-deploy-dev-demo.yml
new file mode 100644
index 00000000..25d65190
--- /dev/null
+++ b/.github/workflows/build-deploy-dev-demo.yml
@@ -0,0 +1,24 @@
+# This action builds and deploys the master branch
+name: Deploy demo of current version
+on:
+ push:
+ branches: [ master ]
+ pull_request:
+ branches: [ master ]
+ workflow_dispatch:
+jobs:
+ build:
+ runs-on: ubuntu-latest
+ steps:
+ - name: Checkout πŸ›ŽοΈ
+ uses: actions/[email protected]
+ - name: Install and Build πŸ”§
+ run: |
+ npm install
+ npm run build
+ - name: Deploy πŸš€
+ uses: JamesIves/[email protected]
+ with:
+ branch: dev-demo
+ folder: dist
+