ci: add breadcrumbs for age/decrypt/build phases

This commit is contained in:
every.channel 2026-02-16 01:44:43 -05:00
parent 9c2e671988
commit 6869825370
No known key found for this signature in database

View file

@ -116,6 +116,7 @@ jobs:
- name: Configure CI Age identity - name: Configure CI Age identity
env: env:
AGE_FORGE_SSH_KEY: ${{ secrets.AGE_FORGE_SSH_KEY }} AGE_FORGE_SSH_KEY: ${{ secrets.AGE_FORGE_SSH_KEY }}
GITHUB_TOKEN: ${{ github.token }}
shell: bash shell: bash
run: | run: |
set -euo pipefail set -euo pipefail
@ -132,7 +133,14 @@ jobs:
fi fi
chmod 600 "$HOME/.ssh/age_forge_ed25519" chmod 600 "$HOME/.ssh/age_forge_ed25519"
curl -fsSL -X POST -H "Authorization: token ${GITHUB_TOKEN}" \
-H "content-type: application/json" \
"https://codeberg.org/api/v1/repos/every-channel/every.channel/statuses/${GITHUB_SHA}" \
-d '{"context":"deploy-cloudflare/breadcrumb","state":"pending","description":"age key ok"}' >/dev/null
- name: Decrypt CI secrets from repo - name: Decrypt CI secrets from repo
env:
GITHUB_TOKEN: ${{ github.token }}
shell: bash shell: bash
run: | run: |
set -euo pipefail set -euo pipefail
@ -151,7 +159,14 @@ jobs:
echo "::add-mask::${CLOUDFLARE_API_TOKEN}" echo "::add-mask::${CLOUDFLARE_API_TOKEN}"
echo "CLOUDFLARE_API_TOKEN=${CLOUDFLARE_API_TOKEN}" >> "$GITHUB_ENV" echo "CLOUDFLARE_API_TOKEN=${CLOUDFLARE_API_TOKEN}" >> "$GITHUB_ENV"
curl -fsSL -X POST -H "Authorization: token ${GITHUB_TOKEN}" \
-H "content-type: application/json" \
"https://codeberg.org/api/v1/repos/every-channel/every.channel/statuses/${GITHUB_SHA}" \
-d '{"context":"deploy-cloudflare/breadcrumb","state":"pending","description":"decrypt ok"}' >/dev/null
- name: Build site (Dioxus web) - name: Build site (Dioxus web)
env:
GITHUB_TOKEN: ${{ github.token }}
shell: bash shell: bash
run: | run: |
set -euo pipefail set -euo pipefail
@ -183,6 +198,11 @@ jobs:
cd apps/tauri/ui cd apps/tauri/ui
trunk build --release --public-url / trunk build --release --public-url /
curl -fsSL -X POST -H "Authorization: token ${GITHUB_TOKEN}" \
-H "content-type: application/json" \
"https://codeberg.org/api/v1/repos/every-channel/every.channel/statuses/${GITHUB_SHA}" \
-d '{"context":"deploy-cloudflare/breadcrumb","state":"pending","description":"build ok"}' >/dev/null
- name: Deploy worker - name: Deploy worker
env: env:
GITHUB_TOKEN: ${{ github.token }} GITHUB_TOKEN: ${{ github.token }}