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

Update documentation.yml

This commit is contained in:
Tyler Nguyen 2022-04-20 02:48:01 -05:00 committed by GitHub
parent 51004e876f
commit 71378ed10d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -6,16 +6,24 @@ on:
workflow_dispatch: workflow_dispatch:
jobs: jobs:
deploy: documentation:
name: Build documentation
runs-on: ubuntu-latest runs-on: ubuntu-latest
if: github.event.repository.fork == false
steps: steps:
- uses: actions/checkout@v2 - name: Checkout repository
- uses: actions/setup-python@v2 uses: actions/checkout@v2
- name: Set up Python runtime
uses: actions/setup-python@v2
with: with:
python-version: 3.x python-version: 3.x
- run: pip install git+https://${GH_TOKEN}@github.com/squidfunk/mkdocs-material-insiders.git
- name: Install Insiders build
if: github.event.repository.fork == false
env: env:
GH_TOKEN: ${{ secrets.GH_TOKEN }} GH_TOKEN: ${{ secrets.GH_TOKEN }}
- run: mkdocs gh-deploy --force run: pip install git+https://${GH_TOKEN}@github.com/squidfunk/mkdocs-material-insiders.git
- name: Deploy documentation
run: mkdocs gh-deploy --force