chore(deps): update github artifact actions (#111) #73
This file contains hidden or 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
| name: Pages | |
| on: | |
| push: | |
| branches: "main" | |
| permissions: | |
| contents: read | |
| pages: write | |
| id-token: write | |
| concurrency: | |
| group: "pages" | |
| cancel-in-progress: true | |
| jobs: | |
| deploy: | |
| environment: | |
| name: github-pages | |
| url: ${{ steps.deployment.outputs.page_url }} | |
| runs-on: ubuntu-latest | |
| steps: | |
| - run: gem install --user ronn-ng | |
| - run: | | |
| for bin in "$HOME"/.local/share/gem/ruby/*/bin; do | |
| echo "$bin" | |
| done >>"$GITHUB_PATH" | |
| - uses: actions/checkout@v6 | |
| - name: Generate HTML man-pages | |
| run: ronn --style toc,custom --html man/*.ronn | |
| env: | |
| RONN_STYLE: ./man | |
| RONN_ORGANIZATION: Freckle Engineering | |
| - name: Copy HTML sources to _site | |
| run: | | |
| mkdir -p _site | |
| cp -v man/*.html _site/ | |
| cp -v _site/stackctl.1.html _site/index.html | |
| - uses: actions/configure-pages@v5 | |
| - uses: actions/upload-pages-artifact@v4 | |
| with: | |
| path: _site | |
| - id: deployment | |
| uses: actions/deploy-pages@v4 |