Skip to content

Commit

Permalink
test: Website deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
alainncls committed Mar 13, 2024
1 parent 81de4c4 commit ee2c351
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/publish-site.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Publish site to GitHub Pages

on:
workflow_dispatch:

pull_request:
jobs:
publish-site-to-gh-pages:
name: Publish site to GitHub Pages
Expand All @@ -13,6 +13,8 @@ jobs:
steps:
- name: Checkout the repository
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Use Node.js
uses: actions/setup-node@v3
with:
Expand All @@ -22,6 +24,10 @@ jobs:
run: yarn --immutable
- name: Run build script
run: yarn workspace site build
- name: Check generated folder
run: ls -la packages/site
- name: Check generated files
run: ls -la packages/site/public
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
Expand Down

0 comments on commit ee2c351

Please sign in to comment.