Skip to content

Commit

Permalink
ci: add auto-deploy to gh-pages on push
Browse files Browse the repository at this point in the history
  • Loading branch information
zuramai committed Jun 13, 2022
1 parent 0c2ac1a commit ed2f0d9
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@

name: deploy demo to gh-pages

on:
push:
branches: [ "master" ]

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3

- name: Install and Build 🔧
run: |
npm install
npm run dist
- name: Deploy 🚀
uses: JamesIves/[email protected]
with:
branch: gh-pages # The branch the action should deploy to.
folder: ./pages # The folder the action should deploy.
commit-message: "update: stisla demo"


0 comments on commit ed2f0d9

Please sign in to comment.