Skip to content

Commit

Permalink
set up github actions to publish pages
Browse files Browse the repository at this point in the history
  • Loading branch information
slowriot committed Nov 23, 2024
1 parent 92397c2 commit 4ca61f1
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 8,410 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/ci-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,22 @@ jobs:
version: 3.1.71
- name: build-rel
run: CMAKE_BUILD_TYPE=Release ./build.sh
- name: Stage files for upload to GitHub Pages
run: |
mkdir deploy
cp build_rel/client.* deploy/
mv deploy/client.html deploy/index.html
- name: Upload files to GitHub Pages
uses: actions/upload-pages-artifact@v3
with:
path: ./deploy

deploy:
runs-on: ubuntu-latest
needs: build-rel
permissions:
pages: write # Permissions needed to deploy to GitHub Pages
id-token: write # Permissions needed for OIDC authentication
steps:
- name: Deploy to GitHub Pages
uses: actions/deploy-pages@v4
Loading

0 comments on commit 4ca61f1

Please sign in to comment.