Skip to content

Commit

Permalink
Build project in pages workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ch1bo committed Aug 16, 2024
1 parent 2a1336e commit cb4d921
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions .github/workflows/pages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
branches:
- main
- deploy-doom.hydra.family # TODO remove

workflow_dispatch:

Expand All @@ -28,12 +29,21 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Setup Pages
uses: actions/configure-pages@v5

- name: Build
runs: |
yarn
yarn build
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: './holding-page'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
path: "./dist"

# TODO: enable
# - name: Deploy to GitHub Pages
# id: deployment
# uses: actions/deploy-pages@v4

0 comments on commit cb4d921

Please sign in to comment.