File tree Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Original file line number Diff line number Diff line change 1
1
name : " Rebuild and deploy PR version of book to gh-pages branch in pull###/ folder"
2
2
on :
3
3
pull_request :
4
- types : [reopened, opened, synchronize]
4
+ types : [opened, synchronize]
5
5
paths :
6
6
- source/**
7
7
jobs :
18
18
ref : ${{ github.ref }}
19
19
check-name : ' Rebuild docker image'
20
20
repo-token : ${{ secrets.GITHUB_TOKEN }}
21
- - name : checkout
21
+
22
+ - name : Checkout the repo
22
23
uses : actions/checkout@v2
23
24
with :
24
25
fetch-depth : ' 0'
38
39
destination_dir : pull${{ github.event.number }}
39
40
# force_orphan: true # once peaceiris updates to v4, change this to true and keep_files: true for the PR / main branch deploy previews
40
41
41
-
42
-
42
+ - name : Post URLS to PR thread
43
+
44
+ with :
45
+ message : |
46
+ """
47
+ - PR deploy preview available [here](https://python.datasciencebook.ca/pull${{ github.event.number }}/index.html)
48
+ - Current `main` deploy preview available [here](https://python.datasciencebook.ca/dev/index.html)
49
+ """
You can’t perform that action at this time.
0 commit comments