Remove IRC #2
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: Build Documentation | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository contents | |
uses: actions/checkout@v3 | |
- name: Set up Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.9 | |
- name: Build docs | |
run: | | |
./scripts/travis_build_docs.sh | |
- name: After success steps | |
if: ${{ success() }} | |
run: | | |
echo "COMMIT=${{ github.sha }}" >> $GITHUB_ENV | |
touch ./build/html/.nojekyll | |
if [ "${{ github.event_name }}" = "push" ] && [ "${{ github.ref }}" = "refs/heads/main" ]; then | |
echo "publish website" | |
./scripts/travis_deploy_website.sh build /tmp | |
fi |