File tree 2 files changed +7
-2
lines changed
2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 5
5
branches : [development]
6
6
paths-ignore :
7
7
- " .github/**" # Ignore changes towards the .github directory
8
+ workflow_dispatch : # run on request (no need for PR)
8
9
9
10
jobs :
10
11
Build-and-Publish-Documentation :
@@ -47,10 +48,13 @@ jobs:
47
48
fi
48
49
- name : Push docs to gh-pages branch
49
50
run : |
50
- cd ..
51
51
git fetch
52
52
git checkout gh-pages
53
- cp -r docs/build/html/* ./
53
+ mkdir -p /tmp/docs_build
54
+ cp -r docs/build/html/* /tmp/docs_build/
55
+ rm -rf ./*
56
+ cp -r /tmp/docs_build/* ./
57
+ rm -rf /tmp/docs_build
54
58
git config --local user.email "[email protected] "
55
59
git config --local user.name "GitHub Action"
56
60
git add .
Original file line number Diff line number Diff line change 4
4
push :
5
5
branches : [development, master]
6
6
pull_request :
7
+ workflow_dispatch : # run on request (no need for PR)
7
8
8
9
jobs :
9
10
Tox :
You can’t perform that action at this time.
0 commit comments