Skip to content

Commit

Permalink
GHA update
Browse files Browse the repository at this point in the history
  • Loading branch information
zajo committed Jul 27, 2024
2 parents ad38d5f + 4565377 commit fd6ae82
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ jobs:
run: |
echo "ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true" >> $GITHUB_ENV
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Setup container environment
if: matrix.container
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,13 @@ on:
push:
branches:
- master
- feature/gha_fixes

jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Install packages
run: |
Expand All @@ -24,6 +25,7 @@ jobs:
cd boost-root
cp -r $GITHUB_WORKSPACE/* libs/leaf
git submodule update --init tools/build
git submodule update --init tools/boost_install
git submodule update --init libs/config
./bootstrap.sh
Expand All @@ -43,8 +45,8 @@ jobs:
python gen/generate_single_header.py -i include/boost/leaf/detail/all.hpp -p include -o doc/html/leaf.hpp boost/leaf --hash "$REF"
- name: Deploy to GitHub Pages
uses: JamesIves/github-pages-deploy-action@v4.6.1
uses: JamesIves/github-pages-deploy-action@4.0.0
with:
token: ${{ secrets.GITHUB_TOKEN }}
branch: gh-pages
branch: gh-pages
folder: ../boost-root/libs/leaf/doc/html
2 changes: 1 addition & 1 deletion doc/Jamfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# http://www.boost.org/LICENSE_1_0.txt)

project doc/leaf ;
import asciidoctor ;
using asciidoctor ;

html index.html : leaf.adoc : <asciidoctor-attribute>stylesheet=zajo-dark.css <asciidoctor-attribute>linkcss ;
install html_ : index.html skin.png zajo-dark.css zajo-light.css rouge-github.css : <location>html ;
Expand Down

0 comments on commit fd6ae82

Please sign in to comment.