Skip to content

Commit

Permalink
Tweak github workflows.
Browse files Browse the repository at this point in the history
  • Loading branch information
ashaduri committed May 23, 2024
1 parent 591d974 commit a812b9b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/api-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ name: API Documentation

on: [push, workflow_dispatch]

permissions:
contents: write

jobs:
deploy:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -36,13 +39,12 @@ jobs:

- name: Create .nojekyll (ensures pages with underscores work on gh pages)
shell: bash
run: touch doc/html/.nojekyll
run: touch build/doc/html/.nojekyll

- name: Deploy to GitHub Pages
uses: JamesIves/github-pages-deploy-action@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
branch: gh-pages
folder: doc/html
folder: build/doc/html
# target-folder: /

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: CMake
name: Build and Test

on: [push, workflow_dispatch]

Expand All @@ -18,7 +18,7 @@ jobs:
- os: windows-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Create Build Environment
run: cmake -E make_directory build
Expand Down

0 comments on commit a812b9b

Please sign in to comment.