Skip to content

Commit

Permalink
Update docs.yml
Browse files Browse the repository at this point in the history
use develop branch of the workshop repo as the main branch for github pages site
  • Loading branch information
jkshenton authored Sep 16, 2024
1 parent 2392e44 commit 4cba971
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ name: docs

on:
push:
branches: [ "workshop" ]
branches: [ "develop" ]
pull_request:
branches: [ "workshop" ]
branches: [ "develop" ]
workflow_dispatch:
branches: [ "workshop" ]
branches: [ "develop" ]

jobs:
doc:
Expand All @@ -34,7 +34,7 @@ jobs:
mkdocs build -d ./docs_build
- name: Deploy
if: github.event_name == 'push' && github.ref == 'refs/heads/workshop'
if: github.event_name == 'push' && github.ref == 'refs/heads/develop'
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit 4cba971

Please sign in to comment.