@@ -12,12 +12,12 @@ runs:
|
|||||||
REPO: ${{ gitea.repository }}
|
REPO: ${{ gitea.repository }}
|
||||||
BRANCH: ${{ gitea.ref_name }}
|
BRANCH: ${{ gitea.ref_name }}
|
||||||
ACTOR: ${{ gitea.actor }}
|
ACTOR: ${{ gitea.actor }}
|
||||||
RUN_ID: ${{ gitea.run_id }}
|
RUN_NUMBER: ${{ gitea.run_number }}
|
||||||
SHA: ${{ gitea.sha }}
|
SHA: ${{ gitea.sha }}
|
||||||
run: |
|
run: |
|
||||||
set -eu
|
set -eu
|
||||||
SHORT_SHA="${SHA:0:7}"
|
SHORT_SHA="${SHA:0:7}"
|
||||||
STATUS_URL="https://status.gitea.pitap.at/${REPO}/actions/runs/${RUN_ID}"
|
STATUS_URL="https://status.gitea.pitap.at/${REPO}/actions/runs/${RUN_NUMBER}"
|
||||||
COMMIT_MSG="$(git log -1 --pretty=format:%s 2>/dev/null || echo '(no message)')"
|
COMMIT_MSG="$(git log -1 --pretty=format:%s 2>/dev/null || echo '(no message)')"
|
||||||
HEADER_TEXT="🚀 배포 시작 — ${REPO}"
|
HEADER_TEXT="🚀 배포 시작 — ${REPO}"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user