-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
try to build docs in actions; cleanup project to only be a specification
- Loading branch information
Mr Martian
committed
Oct 3, 2024
1 parent
32fc7e1
commit de335d2
Showing
36 changed files
with
169 additions
and
9,355 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
name: pages-workflow | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
|
||
# This event is required to deploy to GitHub Pages with actions/deploy-pages@v4 | ||
workflow_run: | ||
workflows: ["Generate and Deploy Docs"] | ||
types: | ||
- completed | ||
|
||
jobs: | ||
generate-docs: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v3 | ||
|
||
- name: Set up Bun | ||
uses: oven-sh/setup-bun@v1 | ||
with: | ||
bun-version: 1.1.29 | ||
|
||
- name: Build the docs | ||
run: bun run docs | ||
|
||
- name: Upload artifacts | ||
uses: actions/upload-pages-artifact@v1 | ||
with: | ||
path: ./docs # Path to the docs folder | ||
|
||
deploy-docs: | ||
runs-on: ubuntu-latest | ||
needs: generate-docs | ||
permissions: | ||
pages: write # Needed to deploy to GitHub Pages | ||
id-token: write # Needed for authentication | ||
|
||
steps: | ||
- name: Deploy to GitHub Pages | ||
uses: actions/deploy-pages@v4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,3 +12,4 @@ server/out/** | |
coverage/** | ||
*.profraw | ||
cobertura.xml | ||
docs/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.