Update docs-publish.yml

This commit is contained in:
shamoon 2023-09-30 10:21:35 -07:00
parent 0a8e378687
commit 13259655f4

View File

@ -11,8 +11,8 @@ permissions:
contents: write contents: write
jobs: jobs:
build: test:
name: Build name: Test
if: github.repository == 'benphelps/homepage' && github.event_name == 'pull_request' if: github.repository == 'benphelps/homepage' && github.event_name == 'pull_request'
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
@ -32,7 +32,7 @@ jobs:
- run: sudo apt-get install pngquant - run: sudo apt-get install pngquant
- run: pip install mike - run: pip install mike
- run: pip install git+https://${GH_TOKEN}@github.com/benphelps/mkdocs-material-insiders.git - run: pip install git+https://${GH_TOKEN}@github.com/benphelps/mkdocs-material-insiders.git
- name: Docs Test Build - name: Test Docs Build
run: MKINSIDERS=true mkdocs build run: MKINSIDERS=true mkdocs build
deploy: deploy:
name: Build & Deploy name: Build & Deploy