Skip to content

Commit

Permalink
Deploy action
Browse files Browse the repository at this point in the history
  • Loading branch information
w8r committed Mar 5, 2024
1 parent 1cd9ba9 commit da270b2
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Build and Deploy
on:
push:
branches:
- master
jobs:
build-and-deploy:
concurrency: ci-${{ github.ref }} # Recommended if you intend to make multiple deployments in quick succession.
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v4

- name: Install dependencies
run: npm ci

- name: Generate Demo
run: npm run demo

- name: Deploy 🚀
uses: JamesIves/[email protected]
with:
branch: gh-pages # The branch the action should deploy to.
folder: docs # The folder the action should deploy.

0 comments on commit da270b2

Please sign in to comment.