Skip to content

Commit

Permalink
Action for github pages build and deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
sandreae authored Mar 27, 2024
1 parent aa55934 commit 71acca7
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Build and Deploy
on: [push]
permissions:
contents: write
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v3

- name: Install and Build 🔧
run: |
npm ci
npm run build
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: dist # The folder the action should deploy.

0 comments on commit 71acca7

Please sign in to comment.