Update plugin mavenPublish to v0.30.0 (#357) #501
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 documentation | |
on: | |
push: | |
branches: | |
- main | |
tags: | |
- v* | |
jobs: | |
deploy_docs: | |
if: github.repository == 'mrmans0n/compose-rules' | |
runs-on: ubuntu-latest | |
env: | |
TERM: dumb | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.x' | |
- name: Install dependencies | |
run: | | |
python3 -m pip install --upgrade pip | |
python3 -m pip install mkdocs | |
python3 -m pip install mkdocs-material | |
python3 -m pip install mdx_truly_sane_lists | |
- name: Build site | |
run: mkdocs build | |
- name: Deploy docs | |
uses: peaceiris/actions-gh-pages@v4 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: ./site |