From 6eece9f1db4efa4df8c9c4e24f7c6000abdaae57 Mon Sep 17 00:00:00 2001 From: cal Date: Wed, 4 Feb 2026 06:43:59 +0000 Subject: [PATCH 1/6] Update .gitea/workflows/docker-build.yml --- .gitea/workflows/docker-build.yml | 128 ++++++++++++++++++++---------- 1 file changed, 85 insertions(+), 43 deletions(-) diff --git a/.gitea/workflows/docker-build.yml b/.gitea/workflows/docker-build.yml index 7131f9e..550c0d3 100644 --- a/.gitea/workflows/docker-build.yml +++ b/.gitea/workflows/docker-build.yml @@ -147,50 +147,92 @@ jobs: fi - name: Discord Notification - Success - if: success() && github.ref == 'refs/heads/main' + if: success() && github.ref == 'refs/heads/main' run: | - curl -H "Content-Type: application/json" \ - -d '{ - "embeds": [{ - "title": "✅ Paper Dynasty Build Successful", - "description": "Docker image built and ready to deploy!", - "color": 3066993, - "fields": [ - { - "name": "Version", - "value": "`v${{ steps.meta.outputs.version }}`", - "inline": true - }, - { - "name": "Image Tag", - "value": "`${{ steps.meta.outputs.version_sha }}`", - "inline": true - }, - { - "name": "Branch", - "value": "`${{ steps.meta.outputs.branch }}`", - "inline": true - }, - { - "name": "Commit", - "value": "`${{ steps.meta.outputs.sha_short }}`", - "inline": true - }, - { - "name": "Author", - "value": "${{ github.actor }}", - "inline": true - }, - { - "name": "View Run", - "value": "[Click here](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }})", - "inline": false - } - ], - "timestamp": "${{ steps.meta.outputs.timestamp }}" - }] - }' \ - https://discord.com/api/webhooks/1468485116631453840/JALtLV8dO2IWso3tNcntHW8wDgQeMZuLgFKVUeoEY9ig_OPjjm4PmjvzwYebH5l7_Nxv + # Debug: Show what variables we have + echo "=== Debug Info ===" + echo "Version: ${{ steps.meta.outputs.version }}" + echo "Version SHA: ${{ steps.meta.outputs.version_sha }}" + echo "SHA Short: ${{ steps.meta.outputs.sha_short }}" + echo "Branch: ${{ steps.meta.outputs.branch }}" + echo "Timestamp: ${{ steps.meta.outputs.timestamp }}" + echo "Actor: ${{ github.actor }}" + echo "" + + # Build the JSON payload + PAYLOAD=$(cat < Date: Wed, 4 Feb 2026 06:45:52 +0000 Subject: [PATCH 2/6] Update .gitea/workflows/docker-build.yml --- .gitea/workflows/docker-build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/docker-build.yml b/.gitea/workflows/docker-build.yml index 550c0d3..e621307 100644 --- a/.gitea/workflows/docker-build.yml +++ b/.gitea/workflows/docker-build.yml @@ -146,8 +146,8 @@ jobs: echo "_PR build - image not pushed to Docker Hub_" >> $GITHUB_STEP_SUMMARY fi - - name: Discord Notification - Success - if: success() && github.ref == 'refs/heads/main' + - name: Discord Notification - Success (DEBUG) + if: success() && github.ref == 'refs/heads/main' || github.event_name == 'pull_request') run: | # Debug: Show what variables we have echo "=== Debug Info ===" -- 2.25.1 From ab0f42d615b5bb9b053c051e21b1416f28a7482e Mon Sep 17 00:00:00 2001 From: cal Date: Wed, 4 Feb 2026 06:47:22 +0000 Subject: [PATCH 3/6] Update VERSION --- VERSION | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/VERSION b/VERSION index 27f9cd3..a8fdfda 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.8.0 +1.8.1 -- 2.25.1 From f36bcaccd228faeab9818de6ac775785faa9b2b7 Mon Sep 17 00:00:00 2001 From: cal Date: Wed, 4 Feb 2026 06:49:54 +0000 Subject: [PATCH 4/6] Update .gitea/workflows/docker-build.yml --- .gitea/workflows/docker-build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/docker-build.yml b/.gitea/workflows/docker-build.yml index e621307..7e09832 100644 --- a/.gitea/workflows/docker-build.yml +++ b/.gitea/workflows/docker-build.yml @@ -147,7 +147,7 @@ jobs: fi - name: Discord Notification - Success (DEBUG) - if: success() && github.ref == 'refs/heads/main' || github.event_name == 'pull_request') + if: success() run: | # Debug: Show what variables we have echo "=== Debug Info ===" -- 2.25.1 From 56746a8f6a063868a922242243034dccb8d79b27 Mon Sep 17 00:00:00 2001 From: cal Date: Wed, 4 Feb 2026 06:53:48 +0000 Subject: [PATCH 5/6] Update .gitea/workflows/docker-build.yml --- .gitea/workflows/docker-build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/docker-build.yml b/.gitea/workflows/docker-build.yml index 7e09832..75effd8 100644 --- a/.gitea/workflows/docker-build.yml +++ b/.gitea/workflows/docker-build.yml @@ -110,7 +110,7 @@ jobs: echo "sha_short=${SHA_SHORT}" >> $GITHUB_OUTPUT echo "version_sha=v${VERSION}-${SHA_SHORT}" >> $GITHUB_OUTPUT echo "branch=${{ github.ref_name }}" >> $GITHUB_OUTPUT - echo "timestamp=$(date -u +'%Y%m%d-%H%M%S')" >> $GITHUB_OUTPUT + echo "timestamp=$(date -u +'%Y-%m-%dT%H:%M:%SZ')" >> $GITHUB_OUTPUT - name: Build Docker image uses: docker/build-push-action@v5 -- 2.25.1 From 1f4fad4a66ccbd14da562b6b2b8db00a2b58b9a7 Mon Sep 17 00:00:00 2001 From: cal Date: Wed, 4 Feb 2026 06:58:18 +0000 Subject: [PATCH 6/6] Update .gitea/workflows/docker-build.yml --- .gitea/workflows/docker-build.yml | 132 ++++++++++-------------------- 1 file changed, 45 insertions(+), 87 deletions(-) diff --git a/.gitea/workflows/docker-build.yml b/.gitea/workflows/docker-build.yml index 75effd8..8514858 100644 --- a/.gitea/workflows/docker-build.yml +++ b/.gitea/workflows/docker-build.yml @@ -146,96 +146,54 @@ jobs: echo "_PR build - image not pushed to Docker Hub_" >> $GITHUB_STEP_SUMMARY fi - - name: Discord Notification - Success (DEBUG) - if: success() + - name: Discord Notification - Success + if: success() && github.ref == 'refs/heads/main' run: | - # Debug: Show what variables we have - echo "=== Debug Info ===" - echo "Version: ${{ steps.meta.outputs.version }}" - echo "Version SHA: ${{ steps.meta.outputs.version_sha }}" - echo "SHA Short: ${{ steps.meta.outputs.sha_short }}" - echo "Branch: ${{ steps.meta.outputs.branch }}" - echo "Timestamp: ${{ steps.meta.outputs.timestamp }}" - echo "Actor: ${{ github.actor }}" - echo "" - - # Build the JSON payload - PAYLOAD=$(cat <