File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -25,11 +25,13 @@ jobs:
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
2727 - name : Post comment with preview URL
28+ shell : bash
2829 run : |
30+ PR_NBR=$(cat pr_number.txt)
2931 curl -L -X POST \
3032 -H "Accept: application/vnd.github+json" \
3133 -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \
32- "https://api.github.com/repos/eth-cscs/cscs-docs/issues/${{ github.event.pull_request.number } }/comments" \
34+ "https://api.github.com/repos/eth-cscs/cscs-docs/issues/${PR_NBR }/comments" \
3335 -d '{
34- "body": "preview available: https://docs.tds.cscs.ch/${{ github.event.pull_request.number } }"
36+ "body": "preview available: https://docs.tds.cscs.ch/${PR_NBR }"
3537 }'
Original file line number Diff line number Diff line change @@ -49,8 +49,6 @@ Welcome to the techincal documentation for Alps.
4949
5050 [ :octicons-arrow-right-24: Applying for an Alps project] ( https://www.cscs.ch/user-lab/applying-for-accounts )
5151
52-
53-
5452</div >
5553
5654## Get in Touch
You can’t perform that action at this time.
0 commit comments