File tree Expand file tree Collapse file tree 2 files changed +9
-9
lines changed
Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Original file line number Diff line number Diff line change 3838 name : docs
3939 path : upload
4040 if-no-files-found : error
41- - name : Post comment with preview URL
42- run : |
43- curl -L -X POST \
44- -H "Accept: application/vnd.github+json" \
45- -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \
46- "https://api.github.com/repos/eth-cscs/cscs-docs/issues/${{ github.event.pull_request.number }}/comments" \
47- -d '{
48- "body": "preview available: https://docs.tds.cscs.ch/${{ github.event.pull_request.number }}"
49- }'
Original file line number Diff line number Diff line change 2424 ls -alh
2525 PR_NBR=$(cat pr_number.txt)
2626 curl --data-binary @site.tar.gz -H "Authorization: Bearer ${{ secrets.UPLOAD_TOKEN }}" https://docs.tds.cscs.ch/upload?path=$PR_NBR
27+ - name : Post comment with preview URL
28+ run : |
29+ curl -L -X POST \
30+ -H "Accept: application/vnd.github+json" \
31+ -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \
32+ "https://api.github.com/repos/eth-cscs/cscs-docs/issues/${{ github.event.pull_request.number }}/comments" \
33+ -d '{
34+ "body": "preview available: https://docs.tds.cscs.ch/${{ github.event.pull_request.number }}"
35+ }'
You can’t perform that action at this time.
0 commit comments