Skip to content

Commit

Permalink
docs - one workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
lukegalbraithrussell committed Jul 31, 2024
1 parent 3bff9f9 commit 4f35a9d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 30 deletions.
30 changes: 0 additions & 30 deletions .github/workflows/docs-build.yml

This file was deleted.

7 changes: 7 additions & 0 deletions .github/workflows/docs-deploy.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,17 @@
name: Deploy to GitHub Pages

on:
pull_request:
branches:
- main
paths:
- 'docs/**'
push:
branches:
- main
paths:
- 'docs/**'
workflow_dispatch:

jobs:
build:
Expand Down Expand Up @@ -36,6 +42,7 @@ jobs:

deploy:
name: Deploy to GitHub Pages
if: github.event_name != 'pull_request'
needs: build

# Grant GITHUB_TOKEN the permissions required to make a Pages deployment
Expand Down

0 comments on commit 4f35a9d

Please sign in to comment.