1
0
mirror of https://github.com/spacebarchat/docs.git synced 2024-11-12 13:22:33 +01:00
docs/.github/workflows/build.yml
2023-01-11 00:29:03 +11:00

23 lines
739 B
YAML

name: Build to GitHub Pages
on:
push:
branches:
- master
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: 3.x
- run: python3 -m pip install mkdocs-material mkdocs-swagger-ui-tag mkdocs-section-index
- run: mkdocs build
- run: echo docs.fosscord.com >> site/CNAME
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@4.1.3
with:
branch: gh-pages # The branch the action should deploy to.
folder: site # The folder the action should deploy.