Skip to content
This repository has been archived by the owner on Jan 22, 2025. It is now read-only.

Commit

Permalink
chore: create a composite action that builds GitHub Pages
Browse files Browse the repository at this point in the history
  • Loading branch information
steveluscher authored Nov 18, 2024
1 parent 7158228 commit 21ee79d
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/actions/compile-gh-pages/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Compile GitHub Pages
description: Compiles content for GitHub Pages and uploads it to the artifact cache

runs:
using: composite
steps:
- name: Compile docs
shell: bash
run: pnpm compile:docs

- name: Assemble Deploy Directory
shell: bash
run: |
mkdir -p .ghpages-deploy/v1.x
mv ./doc/* .ghpages-deploy/v1.x
- uses: actions/upload-artifact@v4
with:
include-hidden-files: true
name: ghpages-deploy-artifacts-v1-docs
path: .ghpages-deploy
retention-days: 1

0 comments on commit 21ee79d

Please sign in to comment.