build(deps): bump actions/setup-node from 3 to 4 (#6543) #3849
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
name: Snuba Docs | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
docs: | |
name: Sphinx | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.8' | |
- name: Generate config schema docs | |
run: | | |
pip install virtualenv | |
make generate-config-docs | |
- name: Build docs | |
run: | | |
make snubadocs | |
- uses: peaceiris/actions-gh-pages@v4.0.0 | |
name: Publish to GitHub Pages | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: docs/build | |
force_orphan: true | |
- name: Archive Docs | |
uses: actions/upload-artifact@v4 | |
with: | |
name: docs | |
path: docs/build |