Skip to content

gh-pages

gh-pages #583

Workflow file for this run

name: gh-pages
on:
push:
branches:
- master
permissions:
contents: read
jobs:
deploy:
permissions:
contents: write # for peaceiris/actions-gh-pages to push pages branch
if: github.repository == 'argoproj/argo-events'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: 3.9
- name: Setup Golang
uses: actions/setup-go@v5
with:
go-version: '1.21'
- name: build
run: |
pip install mkdocs==1.3.0 mkdocs_material==8.2.9
mkdocs build
- name: deploy
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./site