diff --git a/.forgejo/workflows/deploy.yaml b/.forgejo/workflows/deploy.yaml index c4f93ee..3795795 100644 --- a/.forgejo/workflows/deploy.yaml +++ b/.forgejo/workflows/deploy.yaml @@ -41,6 +41,7 @@ jobs: uses: actions/setup-node@v4 with: cache: "pnpm" + cache-dependency-path: ./source/pnpm-lock.yaml - name: Install dependencies run: pnpm install @@ -86,14 +87,14 @@ jobs: - name: Send Discord Notification uses: appleboy/discord-action@master with: - webhook_id: ${{ secrets.DISCORD_WEBHOOK_ID }} - webhook_token: ${{ secrets.DISCORD_WEBHOOK_TOKEN }} color: ${{ needs.deploy.result == 'success' && '48867' || '16711680' }} message: | **Deployment Report** **Status:** ${{ needs.deploy.result }} - **Repo:** ${{ gitea.repository }} - **Commit:** ${{ gitea.sha }} + **Repo:** ${{ github.repository }} + **Commit:** ${{ github.sha }} + webhook_id: ${{ secrets.DISCORD_WEBHOOK_ID }} + webhook_token: ${{ secrets.DISCORD_WEBHOOK_TOKEN }} # For later # - name: Send Matrix Notification