Skip to content

Merge pull request #98 from EuroLinux/migrate2rocky #103

Merge pull request #98 from EuroLinux/migrate2rocky

Merge pull request #98 from EuroLinux/migrate2rocky #103

Workflow file for this run

name: Deploy docs on GH Pages
# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the master branch
on:
push:
branches: [master]
jobs:
build:
name: Build and deploy
runs-on: ubuntu-latest
steps:
- name: Checkout Master
uses: actions/checkout@v2
- name: Set up Python 3X
uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Prepare with mkdocs gh-deploy
run: |
git pull && mkdocs gh-deploy
- name: Redeploy with cname enabled
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: .
cname: docs.euro-linux.com
keep_files: true