diff --git a/.forgejo/workflows/deploy.yaml b/.forgejo/workflows/deploy.yaml index e0aab90..85be3bc 100644 --- a/.forgejo/workflows/deploy.yaml +++ b/.forgejo/workflows/deploy.yaml @@ -81,6 +81,14 @@ jobs: include: *site_matrix steps: + - name: Install Deployment Tools + run: | + if command -v apk >/dev/null; then + apk add --no-cache rsync openssh-client + else + apt-get update && apt-get install -y rsync openssh-client + fi + - name: Setup SSH env: SSH_KEY: ${{ secrets.SSH_PRIVATE_KEY }} @@ -106,18 +114,6 @@ jobs: if: always() # Always run steps: - name: Send Discord Notification - # uses: https://github.com/appleboy/discord-action@master - # with: - # color: ${{ needs.deploy.result == 'success' && '48867' || '16711680' }} - # message: | - # **Deployment Report** - # **Status:** ${{ needs.deploy.result }} - # **Repo:** ${{ github.repository }} - # **Commit:** ${{ github.sha }} - # webhook_id: ${{ secrets.DISCORD_WEBHOOK_ID }} - # webhook_token: ${{ secrets.DISCORD_WEBHOOK_TOKEN }} - - # Trial with curl as the above just fails run: | STATUS="${{ needs.deploy.result }}" COLOR=$([ "$STATUS" == "success" ] && echo "48867" || echo "16711680")