Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
link2xt committed Sep 3, 2023
1 parent c97255f commit a674cc6
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/jekyll.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,14 +46,13 @@ jobs:
chmod 600 "$HOME/.ssh/key"
rsync -avzh -e "ssh -i $HOME/.ssh/key -o StrictHostKeyChecking=no" $GITHUB_WORKSPACE/_site/ "${{ secrets.USERNAME }}@mailadm.testrun.org:providerOverview/${{ steps.prepare.outputs.prid }}/"
- name: "Post links to details"
- name: Post links to details
if: steps.prepare.outputs.uploadtoserver
id: details
run: |
# URLs for API connection and uploads.
# Post preview link to details.
GITHUB_API_URL="https://api.github.com/repos/deltachat/provider-db/statuses/${{ github.event.after }}"
PREVIEW_LINK="https://mailadm.testrun.org/provider/${{ steps.prepare.outputs.prid }}/"
# Post preview link to details.
STATUS_DATA="{\"state\": \"success\", \
\"description\": \"Preview the page here:\", \
\"context\": \"Page Preview\", \
Expand All @@ -66,7 +65,7 @@ jobs:
echo $RESPONSE > result
grep -v '"Check out the page preview at https://mailadm.testrun.org/' result && echo "comment=true" >> $GITHUB_OUTPUT || true
- name: "Post link to comments"
- name: Post link to comments
if: steps.details.outputs.comment
uses: actions/github-script@v6
with:
Expand Down

0 comments on commit a674cc6

Please sign in to comment.