Skip to content

Commit eeba98c

Browse files
committed
fix link
1 parent 61c60c0 commit eeba98c

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/docs.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,15 +43,15 @@ jobs:
4343
mkdir -p "$HOME/.ssh"
4444
echo "${{ secrets.KEY }}" > "$HOME/.ssh/key"
4545
chmod 600 "$HOME/.ssh/key"
46-
rsync -rILvh -e "ssh -i $HOME/.ssh/key -o StrictHostKeyChecking=no" $GITHUB_WORKSPACE/_site/ "${{ secrets.USERNAME }}@chatmail.at:/var/www/html/staging.chatmail.at/docs/relays${{ steps.prepare.outputs.prid }}/"
46+
rsync -rILvh -e "ssh -i $HOME/.ssh/key -o StrictHostKeyChecking=no" $GITHUB_WORKSPACE/_site/ "${{ secrets.USERNAME }}@chatmail.at:/var/www/html/staging.chatmail.at/doc/relay${{ steps.prepare.outputs.prid }}/"
4747
4848
- name: "Post links to details"
4949
id: details
5050
if: steps.prepare.outputs.uploadtoserver
5151
run: |
5252
# URLs for API connection and uploads
5353
export GITHUB_API_URL="https://api.github.com/repos/chatmail/relay/statuses/${{ github.event.after }}"
54-
export PREVIEW_LINK="https://staging.chatmail.at/docs/relays${{ steps.prepare.outputs.prid }}/"
54+
export PREVIEW_LINK="https://staging.chatmail.at/doc/relay${{ steps.prepare.outputs.prid }}/"
5555
# Post AppImage download link to check details
5656
export STATUS_DATA="{\"state\": \"success\", \
5757
\"description\": \"Preview the page here:\", \
@@ -63,7 +63,7 @@ jobs:
6363
export GITHUB_API_URL="https://api.github.com/repos/chatmail/relay/issues/${{ steps.prepare.outputs.prid }}/comments"
6464
export RESPONSE=$(curl -L --header "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" --url "$GITHUB_API_URL" --header "content-type: application/vnd.github+json" -H "X-GitHub-Api-Version: 2022-11-28")
6565
echo $RESPONSE > response
66-
grep -v '"Check out the page preview at https://staging.chatmail.at/docs/relays' response && echo "comment=true" >> $GITHUB_OUTPUT || true
66+
grep -v '"Check out the page preview at https://staging.chatmail.at/doc/relay' response && echo "comment=true" >> $GITHUB_OUTPUT || true
6767
- name: "Post link to comments"
6868
if: steps.details.outputs.comment
6969
uses: actions/github-script@v7
@@ -73,5 +73,5 @@ jobs:
7373
issue_number: context.issue.number,
7474
owner: context.repo.owner,
7575
repo: context.repo.repo,
76-
body: "Check out the page preview at https://staging.chatmail.at/docs/relays${{ steps.prepare.outputs.prid }}/"
76+
body: "Check out the page preview at https://staging.chatmail.at/doc/relay${{ steps.prepare.outputs.prid }}/"
7777
})

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,5 @@ Chatmail relay servers are interoperable Mail Transport Agents (MTAs) designed f
1616
This repository contains everything needed to setup a ready-to-use chatmail relay on an ssh-reachable host.
1717
For getting started and more information please refer to the web version of this repositories' documentation at
1818

19-
[https://chatmail.at/docs/relays](https://chatmail.at/docs/relays)
19+
[https://chatmail.at/doc/relay](https://chatmail.at/doc/relay)
2020

0 commit comments

Comments
 (0)