Skip to content

Commit

Permalink
Run docs.yml workflow only when pushes are made to the master bra…
Browse files Browse the repository at this point in the history
…nch to avoid deleting the commit history

Signed-off-by: Ayush Joshi <[email protected]>
  • Loading branch information
joshiayush committed Oct 13, 2023
1 parent fbecf95 commit 3214b40
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
name: github-pages

on: [push, pull_request]
on:
push:
branches:
- master

permissions:
actions: write
Expand Down

0 comments on commit 3214b40

Please sign in to comment.