Skip to content

Commit

Permalink
Add deployment script
Browse files Browse the repository at this point in the history
  • Loading branch information
alinnert committed Dec 11, 2024
1 parent 04eaa64 commit 89edea6
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Build and deploy website

on:
push:
tags:
- 'v*'

permissions:
contents: write

jobs:
build-and-deploy:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: lts/*

- name: npm install and build
run: |
npm ci
npm run build
- name: Deploy
uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: dist

0 comments on commit 89edea6

Please sign in to comment.