fix logging on config watcher setup failure (#3074) #571
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: 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.1.0 | |
with: | |
python-version: 3.9 | |
- name: Setup Golang | |
uses: actions/setup-go@v4.1.0 | |
with: | |
go-version: '1.20' | |
- name: build | |
run: | | |
pip install mkdocs==1.3.0 mkdocs_material==8.2.9 | |
mkdocs build | |
- name: deploy | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: ./site |