Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions .github/workflows/docs_pr_upload.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,13 @@ jobs:
PR_NBR=$(cat pr_number.txt)
curl --data-binary @site.tar.gz -H "Authorization: Bearer ${{ secrets.UPLOAD_TOKEN }}" https://docs.tds.cscs.ch/upload?path=$PR_NBR
- name: Post comment with preview URL
shell: bash
run: |
PR_NBR=$(cat pr_number.txt)
curl -L -X POST \
-H "Accept: application/vnd.github+json" \
-H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \
"https://api.github.com/repos/eth-cscs/cscs-docs/issues/${{ github.event.pull_request.number }}/comments" \
"https://api.github.com/repos/eth-cscs/cscs-docs/issues/${PR_NBR}/comments" \
-d '{
"body": "preview available: https://docs.tds.cscs.ch/${{ github.event.pull_request.number }}"
"body": "preview available: https://docs.tds.cscs.ch/${PR_NBR}"
}'
2 changes: 0 additions & 2 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,6 @@ Welcome to the techincal documentation for Alps.

[:octicons-arrow-right-24: Applying for an Alps project](https://www.cscs.ch/user-lab/applying-for-accounts)



</div>

## Get in Touch
Expand Down