Skip to content

Commit d6e086f

Browse files
committed
workflow: build dev docs for push/PRs to dev
1 parent fdb0323 commit d6e086f

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

.github/workflows/multiversion-docs.yaml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,13 @@
33
name: multiversion-docs
44

55
on:
6+
pull_request:
7+
branches:
8+
- dev
69
workflow_dispatch:
7-
# execute this workflow automatically when we push to master or dev
8-
# push:
9-
# branches:
10-
# - master
11-
# - dev
10+
push:
11+
branches:
12+
- dev
1213

1314
jobs:
1415

@@ -51,7 +52,7 @@ jobs:
5152
- name: Commit changes to docs
5253
run: |
5354
cd ./gh-pages-dev
54-
git rm -rf .
55+
git rm --quiet -rf .
5556
cp -R ../dev/docs/* ./
5657
git config --local user.email ""
5758
git config --local user.name "github-actions"

0 commit comments

Comments
 (0)