Skip to content

Commit

Permalink
Add build and deploy workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
marlonbaeten committed May 24, 2024
1 parent 758af21 commit 7ef7b94
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .githib/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Deploy

on:
push:
branches:
- main

jobs:
build:
name: Build
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '20'
- run: yarn build
- uses: actions/upload-pages-artifact@v3
with:
path: ./dist

deploy:
name: Deploy
needs: build
runs-on: ubuntu-latest

permissions:
pages: write
id-token: write

steps:
- uses: actions/deploy-pages@v4

0 comments on commit 7ef7b94

Please sign in to comment.