mirror of
https://github.com/tylernguyen/x1c6-hackintosh.git
synced 2025-02-05 09:33:13 -06:00
21 lines
No EOL
485 B
YAML
21 lines
No EOL
485 B
YAML
name: Build & Deploy MkDocs
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
deploy:
|
|
runs-on: ubuntu-latest
|
|
if: github.event.repository.fork == false
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- uses: actions/setup-python@v2
|
|
with:
|
|
python-version: 3.x
|
|
- run: pip install git+https://${GH_TOKEN}@github.com/squidfunk/mkdocs-material-insiders.git
|
|
- run: mkdocs gh-deploy --force
|
|
|
|
env:
|
|
GH_TOKEN: ${{ secrets.GH_TOKEN }} |