Skip to content

Commit

Permalink
Auto pushes docs (#2580)
Browse files Browse the repository at this point in the history
  • Loading branch information
Real-MullaC authored Aug 19, 2024
1 parent 2ea708e commit 83fe6c5
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions .github/workflows/github-pages.yaml
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
name: GitHub Pages Deploy

on:
release:
types: [published, prereleased]
push:
paths:
- '.github/mkdocs.yml'
- '.github/requirements.txt'
- 'docs/**'
- 'overrides/**'
workflow_dispatch:

permissions:
contents: write

jobs:
deploy:
build-and-deploy:
runs-on: ubuntu-latest

steps:
Expand All @@ -22,10 +23,10 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: 3.x # Install latest Stable release of Python 3
cache: 'pip' # caching pip dependencies
cache: 'pip' # Caching pip dependencies

- name: Install Necessary Dependencies using 'pip install -r .github/requirements.txt'
- name: Install Necessary Dependencies
run: pip install -r .github/requirements.txt

- name: Build & Deploy using 'mkdocs'
run: mkdocs gh-deploy --force -f .github/mkdocs.yml
- name: Build & Deploy using mkdocs
run: mkdocs gh-deploy --force -f .github/mkdocs.yml

0 comments on commit 83fe6c5

Please sign in to comment.