1
0
Fork 0
mirror of https://github.com/tylernguyen/x1c6-hackintosh.git synced 2025-02-05 09:33:13 -06:00
x1c6-hackintosh/.github/workflows/documentation.yml

23 lines
494 B
YAML
Raw Normal View History

2022-03-02 17:48:59 -06:00
name: Build & Deploy MkDocs
on:
push:
branches:
- main
workflow_dispatch:
2022-04-20 02:32:34 -05:00
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
2022-03-02 17:48:59 -06:00
jobs:
deploy:
runs-on: ubuntu-latest
2022-04-20 02:10:56 -05:00
if: github.event.repository.fork == false
2022-03-02 17:48:59 -06:00
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: 3.x
2022-04-20 02:10:56 -05:00
- run: pip install git+https://${GH_TOKEN}@github.com/squidfunk/mkdocs-material-insiders.git
2022-03-02 17:48:59 -06:00
- run: mkdocs gh-deploy --force
2022-04-20 02:27:27 -05:00