Merge pull request #399 from bellkev/seccomp-updates #204
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
# GCLINE@ 03SEP2020 | |
name: deploy to mkdocs | |
# the two different ways to trigger the workflow | |
on: | |
# enable manual trigger button in github actions web | |
workflow_dispatch: | |
# enable auto trigger based on both path and branch | |
push: | |
# only main branch | |
branches: | |
- main | |
- master | |
# at least one changed file must match this path | |
paths: | |
- 'content/**' | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-python@v2 | |
with: | |
python-version: 3.x | |
- run: pip install mkdocs-material | |
- run: mkdocs gh-deploy --force | |
#jobs: | |
# build: | |
# name: Deploy docs | |
# runs-on: ubuntu-latest | |
# steps: | |
# - name: Checkout master | |
# uses: actions/checkout@v2 | |
# - name: Deploy docs | |
# uses: mhausenblas/mkdocs-deploy-gh-pages@master | |
# env: | |
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
# CONFIG_FILE: mkdocs.yml |