File tree Expand file tree Collapse file tree 1 file changed +7
-23
lines changed Expand file tree Collapse file tree 1 file changed +7
-23
lines changed Original file line number Diff line number Diff line change 66 - opened
77 - reopened
88 - synchronize
9- - closed
10-
11- permissions :
12- pull-requests : write
139
1410jobs :
1511 pr-preview :
1612 runs-on : ubuntu-latest
1713
18- if : github.event.pull_request.head.repo.full_name == github.repository
19-
2014 env :
2115 mailmap : ${{ secrets.MAILMAP }}
2216
@@ -56,23 +50,13 @@ jobs:
5650 NIX_BUILD_SHELL : bash
5751 build_command : |
5852 set -eu
59- 1lab-shake -j all --skip-agda -b "https://plt-amy.github.io/1lab-previews/pr- ${{ github.event.number }}"
53+ 1lab-shake -j all --skip-agda -b "https://preview.1lab.dev/ ${{ github.event.number }}/ "
6054 eval "$installPhase"
61- cp -rv _build/site pr-${{ github.event.number }}
62-
63- - name : Upload 📦
64- uses : dmnemec/copy_file_to_another_repo_action@main
65- env :
66- API_TOKEN_GITHUB : ${{ secrets.PREVIEW_TOKEN }}
67- with :
68- source_file : pr-${{ github.event.number }}
69- destination_repo : ' plt-amy/1lab-previews'
70- 71- user_name : ' plt-amy'
72- commit_message : ' Preview of PR #${{ github.event.number }}'
55+ echo "${{ github.event.number }}" > _build/site/.pr-number
56+ # cp -rv _build/site pr-${{ github.event.number }}
7357
74- - name : Inform ℹ️
75- uses : marocchino/sticky-pull-request-comment@v2
58+ - name : Archive 📦
59+ uses : actions/upload-artifact@v3
7660 with :
77- message : |
78- [Rendered preview](https://plt-amy.github.io/1lab-previews/pr-${{ github.event.number }})
61+ name : pr-preview
62+ path : _build/site
You can’t perform that action at this time.
0 commit comments