Skip to content

Commit

Permalink
Add workflow to upload website artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
francois-roseberry committed Sep 1, 2024
1 parent fe1c36f commit 8f651e7
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/deploy-site.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Deploy site
on: workflow_dispatch

jobs:
deploy_site:
name: Deploy website
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: install dependencies
run: yarn

- name: Build website
run: yarn build

- name: Upload GitHub Pages artifact
uses: actions/upload-pages-artifact@v3.0.1
with:
path: public/

0 comments on commit 8f651e7

Please sign in to comment.