Something went wrong. Try again.
A Discord bot designed to entertain your server esmbot.net
Something went wrong. Try again.
1234567891011121314151617181920212223242526272829303132333435363738name: Publish docs via GitHub Pageson: push: branches: - master paths: - "docs/**" - "mkdocs.yml"
permissions: contents: write
jobs: deploy: runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v7 with: fetch-depth: 0 - name: Configure Git Credentials run: | git config user.name github-actions[bot] git config user.email 41898282+github-actions[bot]@users.noreply.github.com - uses: actions/setup-python@v6 with: python-version: 3.x - run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV
- uses: actions/cache@v6 with: key: mkdocs-material-${{ env.cache_id }} path: .cache restore-keys: | mkdocs-material- - run: pip install mkdocs-material mkdocs-glightbox mkdocs-git-revision-date-localized-plugin - run: mkdocs gh-deploy --force