-
Notifications
You must be signed in to change notification settings - Fork 246
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
37 additions
and
0 deletions.
There are no files selected for viewing
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,37 @@ | ||
# Simple workflow for deploying static content to GitHub Pages | ||
name: debug Website static content | ||
|
||
on: | ||
pull_request: | ||
branches: [ website ] | ||
|
||
# Allows you to run this workflow manually from the Actions tab | ||
workflow_dispatch: | ||
workflow_call: | ||
|
||
env: | ||
websiteDir: "${{github.workspace}}/website" | ||
|
||
jobs: | ||
# Single deploy job since we're just deploying | ||
deploy: | ||
environment: | ||
name: github-pages | ||
url: ${{ steps.deployment.outputs.page_url }} | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
- name: Setup Pages | ||
uses: actions/configure-pages@v3 | ||
- name: Install package | ||
run: sudo apt-get install doxygen graphviz | ||
- name: Yarn Install | ||
run: yarn install | ||
working-directory: ${{env.websiteDir}} | ||
- name: Clone doxygen-awesome-css | ||
run: git clone https://github.com/jothepro/doxygen-awesome-css.git | ||
working-directory: ${{env.websiteDir}} | ||
- name: Build Website | ||
run: bash generate.sh | ||
working-directory: ${{env.websiteDir}} |