Initial Setup: Remove "Add Bot" step and move intents setup (#53) #93
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: Publish docs via GitHub Pages | |
on: | |
push: | |
branches: | |
- master | |
- develop | |
- ascension | |
paths: | |
- '**.md' | |
- 'docs/**' | |
- 'mkdocs.yml' | |
- 'requirements.txt' | |
- 'CNAME' | |
jobs: | |
build: | |
name: Deploy docs | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- uses: fregante/setup-git-user@v2 | |
- uses: actions/setup-python@v2 | |
with: | |
python-version: 3.x | |
- run: | | |
pip install -r requirements.txt | |
mike deploy -p -u ${GITHUB_REF##*/} | |
# - run: mkdocs build | |
# - uses: actions/upload-pages-artifact@v1 | |
# with: | |
# path: 'site' | |
# uses: actions/deploy-pages@v1 |