opt: fix ntfy
This commit is contained in:
294
deploy-deploy-109.log
Normal file
294
deploy-deploy-109.log
Normal file
@@ -0,0 +1,294 @@
|
||||
2025-12-30T07:32:30.8126454Z homesrv(version:v0.2.13) received task 109 of job deploy, be triggered by event: push
|
||||
2025-12-30T07:32:30.8139159Z workflow prepared
|
||||
2025-12-30T07:32:30.8142097Z evaluating expression 'success()'
|
||||
2025-12-30T07:32:30.8144318Z expression 'success()' evaluated to 'true'
|
||||
2025-12-30T07:32:30.8155417Z ☁ git clone 'https://github.com/actions/checkout' # ref=v4
|
||||
2025-12-30T07:32:30.8156396Z cloning https://github.com/actions/checkout to /data/gitea/.cached/act/c3fe249fe73091a17d6638fe1341e7bd0bcc3466ce52323c0688e83e2463a4ab
|
||||
2025-12-30T07:32:31.6576078Z Non-terminating error while running 'git clone': some refs were not updated
|
||||
2025-12-30T07:32:31.6588585Z ☁ git clone 'https://git.hcmc.online/actions/deploy-notify' # ref=main
|
||||
2025-12-30T07:32:31.6589123Z cloning https://git.hcmc.online/actions/deploy-notify to /data/gitea/.cached/act/231e124cf9cb26095e9a23a48769cf6f9d538910dcf8b91081f910a9f3cd9cd1
|
||||
2025-12-30T07:32:32.1747479Z Provided ref is not a sha. Checking out branch before pulling changes
|
||||
2025-12-30T07:32:32.6477649Z Cloned https://git.hcmc.online/actions/deploy-notify to /data/gitea/.cached/act/231e124cf9cb26095e9a23a48769cf6f9d538910dcf8b91081f910a9f3cd9cd1
|
||||
2025-12-30T07:32:32.6478468Z Provided ref is not a sha. Updating branch ref after pull
|
||||
2025-12-30T07:32:32.6511993Z Checked out main
|
||||
2025-12-30T07:32:32.6521486Z expression 'Deploy: ${{ github.repository }} - ${{ github.event.head_commit.message }}' rewritten to 'format('Deploy: {0} - {1}', github.repository, github.event.head_commit.message)'
|
||||
2025-12-30T07:32:32.6521988Z evaluating expression 'format('Deploy: {0} - {1}', github.repository, github.event.head_commit.message)'
|
||||
2025-12-30T07:32:32.6523093Z expression 'format('Deploy: {0} - {1}', github.repository, github.event.head_commit.message)' evaluated to '%!t(string=Deploy: tienngo/timelapse-calc - update notify step deploy\n)'
|
||||
2025-12-30T07:32:32.6523753Z expression '${{ job.status }}' rewritten to 'format('{0}', job.status)'
|
||||
2025-12-30T07:32:32.6524067Z evaluating expression 'format('{0}', job.status)'
|
||||
2025-12-30T07:32:32.6524631Z expression 'format('{0}', job.status)' evaluated to '%!t(string=success)'
|
||||
2025-12-30T07:32:32.6525238Z expression 'Branch: ${{ github.ref_name }}\nCommit: ${{ github.sha }}\nMessage: ${{ github.event.head_commit.message }}\nStatus: ${{ job.status }}\nActor: ${{ github.event.head_commit.author.name }}' rewritten to 'format('Branch: {0}\nCommit: {1}\nMessage: {2}\nStatus: {3}\nActor: {4}', github.ref_name, github.sha, github.event.head_commit.message, job.status, github.event.head_commit.author.name)'
|
||||
2025-12-30T07:32:32.6525774Z evaluating expression 'format('Branch: {0}\nCommit: {1}\nMessage: {2}\nStatus: {3}\nActor: {4}', github.ref_name, github.sha, github.event.head_commit.message, job.status, github.event.head_commit.author.name)'
|
||||
2025-12-30T07:32:32.6527217Z expression 'format('Branch: {0}\nCommit: {1}\nMessage: {2}\nStatus: {3}\nActor: {4}', github.ref_name, github.sha, github.event.head_commit.message, job.status, github.event.head_commit.author.name)' evaluated to '%!t(string=Branch: main\nCommit: 932931977e56f0891ab5d38aaa8c9bf33d98a6e5\nMessage: update notify step deploy\n\nStatus: success\nActor: Tien Ngo)'
|
||||
2025-12-30T07:32:32.6528019Z evaluating expression 'always()'
|
||||
2025-12-30T07:32:32.6528798Z expression 'always()' evaluated to 'true'
|
||||
2025-12-30T07:32:32.6529292Z ⭐ Run Pre Send Deployment Notification
|
||||
2025-12-30T07:32:32.6533368Z run pre step for 'Send Deployment Notification'
|
||||
2025-12-30T07:32:32.6536064Z ✅ Success - Pre Send Deployment Notification
|
||||
2025-12-30T07:32:32.6550793Z evaluating expression ''
|
||||
2025-12-30T07:32:32.6552563Z expression '' evaluated to 'true'
|
||||
2025-12-30T07:32:32.6553382Z ⭐ Run Main actions/checkout@v4
|
||||
2025-12-30T07:32:32.6563628Z expression '${{ github.token }}' rewritten to 'format('{0}', github.token)'
|
||||
2025-12-30T07:32:32.6564156Z evaluating expression 'format('{0}', github.token)'
|
||||
2025-12-30T07:32:32.6564965Z expression 'format('{0}', github.token)' evaluated to '%!t(string=***)'
|
||||
2025-12-30T07:32:32.6565747Z expression '${{ github.repository }}' rewritten to 'format('{0}', github.repository)'
|
||||
2025-12-30T07:32:32.6566081Z evaluating expression 'format('{0}', github.repository)'
|
||||
2025-12-30T07:32:32.6566752Z expression 'format('{0}', github.repository)' evaluated to '%!t(string=tienngo/timelapse-calc)'
|
||||
2025-12-30T07:32:32.6567826Z type=remote-action actionDir=/data/gitea/.cached/act/c3fe249fe73091a17d6638fe1341e7bd0bcc3466ce52323c0688e83e2463a4ab actionPath= workdir=/workspace/tienngo/timelapse-calc actionCacheDir=/data/gitea/.cached/act actionName=c3fe249fe73091a17d6638fe1341e7bd0bcc3466ce52323c0688e83e2463a4ab containerActionDir=/data/gitea/.cached/act/5d0d2b4f61fe7cc3/act/actions/c3fe249fe73091a17d6638fe1341e7bd0bcc3466ce52323c0688e83e2463a4ab
|
||||
2025-12-30T07:32:32.6568399Z /data/gitea/.cached/act/5d0d2b4f61fe7cc3/act/actions/c3fe249fe73091a17d6638fe1341e7bd0bcc3466ce52323c0688e83e2463a4ab
|
||||
2025-12-30T07:32:32.6568920Z Stripping prefix:/data/gitea/.cached/act/c3fe249fe73091a17d6638fe1341e7bd0bcc3466ce52323c0688e83e2463a4ab/ src:/data/gitea/.cached/act/c3fe249fe73091a17d6638fe1341e7bd0bcc3466ce52323c0688e83e2463a4ab/
|
||||
2025-12-30T07:32:32.8325994Z executing remote job container: [node /data/gitea/.cached/act/5d0d2b4f61fe7cc3/act/actions/c3fe249fe73091a17d6638fe1341e7bd0bcc3466ce52323c0688e83e2463a4ab/dist/index.js]
|
||||
2025-12-30T07:32:32.9624447Z ::add-matcher::/data/gitea/.cached/act/5d0d2b4f61fe7cc3/act/actions/c3fe249fe73091a17d6638fe1341e7bd0bcc3466ce52323c0688e83e2463a4ab/dist/problem-matcher.json
|
||||
2025-12-30T07:32:32.9624759Z ::add-matcher::/data/gitea/.cached/act/5d0d2b4f61fe7cc3/act/actions/c3fe249fe73091a17d6638fe1341e7bd0bcc3466ce52323c0688e83e2463a4ab/dist/problem-matcher.json
|
||||
2025-12-30T07:32:32.9629678Z Syncing repository: tienngo/timelapse-calc
|
||||
2025-12-30T07:32:32.9634356Z ::group::Getting Git version info
|
||||
2025-12-30T07:32:32.9635373Z Working directory is '/data/gitea/.cached/act/5d0d2b4f61fe7cc3/hostexecutor'
|
||||
2025-12-30T07:32:32.9683437Z [command]/usr/bin/git version
|
||||
2025-12-30T07:32:32.9734174Z git version 2.39.5
|
||||
2025-12-30T07:32:32.9767623Z ::endgroup::
|
||||
2025-12-30T07:32:32.9782199Z Copying '/root/.gitconfig' to '/data/gitea/.cached/act/5d0d2b4f61fe7cc3/tmp/884ffe14-9f3c-4bdf-bce9-6de2f49f81e3/.gitconfig'
|
||||
2025-12-30T07:32:33.0840988Z Temporarily overriding HOME='/data/gitea/.cached/act/5d0d2b4f61fe7cc3/tmp/884ffe14-9f3c-4bdf-bce9-6de2f49f81e3' before making global git config changes
|
||||
2025-12-30T07:32:33.0842684Z Adding repository directory to the temporary git global config as a safe directory
|
||||
2025-12-30T07:32:33.0857425Z [command]/usr/bin/git config --global --add safe.directory /data/gitea/.cached/act/5d0d2b4f61fe7cc3/hostexecutor
|
||||
2025-12-30T07:32:33.1203399Z Deleting the contents of '/data/gitea/.cached/act/5d0d2b4f61fe7cc3/hostexecutor'
|
||||
2025-12-30T07:32:33.1211477Z ::group::Initializing the repository
|
||||
2025-12-30T07:32:33.1220523Z [command]/usr/bin/git init /data/gitea/.cached/act/5d0d2b4f61fe7cc3/hostexecutor
|
||||
2025-12-30T07:32:33.1270269Z hint: Using 'master' as the name for the initial branch. This default branch name
|
||||
2025-12-30T07:32:33.1271231Z hint: is subject to change. To configure the initial branch name to use in all
|
||||
2025-12-30T07:32:33.1271788Z hint: of your new repositories, which will suppress this warning, call:
|
||||
2025-12-30T07:32:33.1272226Z hint:
|
||||
2025-12-30T07:32:33.1272533Z hint: git config --global init.defaultBranch <name>
|
||||
2025-12-30T07:32:33.1272883Z hint:
|
||||
2025-12-30T07:32:33.1273210Z hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
|
||||
2025-12-30T07:32:33.1273671Z hint: 'development'. The just-created branch can be renamed via this command:
|
||||
2025-12-30T07:32:33.1274046Z hint:
|
||||
2025-12-30T07:32:33.1274389Z hint: git branch -m <name>
|
||||
2025-12-30T07:32:33.1576649Z Initialized empty Git repository in /data/gitea/.cached/act/5d0d2b4f61fe7cc3/hostexecutor/.git/
|
||||
2025-12-30T07:32:33.1598170Z [command]/usr/bin/git remote add origin https://git.hcmc.online/tienngo/timelapse-calc
|
||||
2025-12-30T07:32:33.1664855Z ::endgroup::
|
||||
2025-12-30T07:32:33.1665232Z ::group::Disabling automatic garbage collection
|
||||
2025-12-30T07:32:33.1671748Z [command]/usr/bin/git config --local gc.auto 0
|
||||
2025-12-30T07:32:33.1822148Z ::endgroup::
|
||||
2025-12-30T07:32:33.1823572Z ::group::Setting up auth
|
||||
2025-12-30T07:32:33.1838064Z [command]/usr/bin/git config --local --name-only --get-regexp core\.sshCommand
|
||||
2025-12-30T07:32:33.1892769Z [command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || :"
|
||||
2025-12-30T07:32:33.2201840Z [command]/usr/bin/git config --local --name-only --get-regexp http\.https\:\/\/git\.hcmc\.online\/\.extraheader
|
||||
2025-12-30T07:32:33.2242202Z [command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'http\.https\:\/\/git\.hcmc\.online\/\.extraheader' && git config --local --unset-all 'http.https://git.hcmc.online/.extraheader' || :"
|
||||
2025-12-30T07:32:33.2497293Z [command]/usr/bin/git config --local --name-only --get-regexp ^includeIf\.gitdir:
|
||||
2025-12-30T07:32:33.2545019Z [command]/usr/bin/git submodule foreach --recursive git config --local --show-origin --name-only --get-regexp remote.origin.url
|
||||
2025-12-30T07:32:33.2881058Z [command]/usr/bin/git config --local http.https://git.hcmc.online/.extraheader AUTHORIZATION: basic ***
|
||||
2025-12-30T07:32:33.2944246Z ::endgroup::
|
||||
2025-12-30T07:32:33.2944864Z ::group::Fetching the repository
|
||||
2025-12-30T07:32:33.2959513Z [command]/usr/bin/git -c protocol.version=2 fetch --no-tags --prune --no-recurse-submodules --depth=1 origin +932931977e56f0891ab5d38aaa8c9bf33d98a6e5:refs/remotes/origin/main
|
||||
2025-12-30T07:32:34.9671126Z From https://git.hcmc.online/tienngo/timelapse-calc
|
||||
2025-12-30T07:32:34.9672247Z * [new ref] 932931977e56f0891ab5d38aaa8c9bf33d98a6e5 -> origin/main
|
||||
2025-12-30T07:32:34.9712755Z ::endgroup::
|
||||
2025-12-30T07:32:34.9713610Z ::group::Determining the checkout info
|
||||
2025-12-30T07:32:34.9718153Z ::endgroup::
|
||||
2025-12-30T07:32:34.9728328Z [command]/usr/bin/git sparse-checkout disable
|
||||
2025-12-30T07:32:35.0282710Z [command]/usr/bin/git config --local --unset-all extensions.worktreeConfig
|
||||
2025-12-30T07:32:35.0327875Z ::group::Checking out the ref
|
||||
2025-12-30T07:32:35.0336360Z [command]/usr/bin/git checkout --progress --force -B main refs/remotes/origin/main
|
||||
2025-12-30T07:32:35.0434721Z Switched to a new branch 'main'
|
||||
2025-12-30T07:32:35.0436712Z branch 'main' set up to track 'origin/main'.
|
||||
2025-12-30T07:32:35.0447253Z ::endgroup::
|
||||
2025-12-30T07:32:35.0508769Z [command]/usr/bin/git log -1 --format=%H
|
||||
2025-12-30T07:32:35.0549499Z 932931977e56f0891ab5d38aaa8c9bf33d98a6e5
|
||||
2025-12-30T07:32:35.0582645Z ::remove-matcher owner=checkout-git::
|
||||
2025-12-30T07:32:35.2420475Z [1A[1B[0G[?25l[+] Building 0.0s (0/1) docker:default
|
||||
2025-12-30T07:32:35.4235029Z [?25h[1A[0G[?25l[+] Building 0.2s (1/3) docker:default
|
||||
2025-12-30T07:32:35.4237863Z [34m => [internal] load build definition from Dockerfile 0.0s
|
||||
2025-12-30T07:32:35.4238991Z [0m[34m => => transferring dockerfile: 925B 0.0s
|
||||
2025-12-30T07:32:35.4240187Z [0m => [internal] load metadata for docker.io/library/nginx:alpine 0.2s
|
||||
2025-12-30T07:32:35.4240850Z => [internal] load metadata for docker.io/library/node:20-alpine 0.2s
|
||||
2025-12-30T07:32:35.5737006Z [?25h[1A[1A[1A[1A[1A[0G[?25l[+] Building 0.3s (1/3) docker:default
|
||||
2025-12-30T07:32:35.5738736Z [34m => [internal] load build definition from Dockerfile 0.0s
|
||||
2025-12-30T07:32:35.5739374Z [0m[34m => => transferring dockerfile: 925B 0.0s
|
||||
2025-12-30T07:32:35.5739895Z [0m => [internal] load metadata for docker.io/library/nginx:alpine 0.3s
|
||||
2025-12-30T07:32:35.5740271Z => [internal] load metadata for docker.io/library/node:20-alpine 0.3s
|
||||
2025-12-30T07:32:35.7243723Z [?25h[1A[1A[1A[1A[1A[0G[?25l[+] Building 0.5s (1/3) docker:default
|
||||
2025-12-30T07:32:35.7246601Z [34m => [internal] load build definition from Dockerfile 0.0s
|
||||
2025-12-30T07:32:35.7247933Z [0m[34m => => transferring dockerfile: 925B 0.0s
|
||||
2025-12-30T07:32:35.7248855Z [0m => [internal] load metadata for docker.io/library/nginx:alpine 0.5s
|
||||
2025-12-30T07:32:35.7249998Z => [internal] load metadata for docker.io/library/node:20-alpine 0.5s
|
||||
2025-12-30T07:32:35.8745588Z [?25h[1A[1A[1A[1A[1A[0G[?25l[+] Building 0.6s (1/3) docker:default
|
||||
2025-12-30T07:32:35.8748835Z [34m => [internal] load build definition from Dockerfile 0.0s
|
||||
2025-12-30T07:32:35.8768676Z [0m[34m => => transferring dockerfile: 925B 0.0s
|
||||
2025-12-30T07:32:35.8769467Z [0m => [internal] load metadata for docker.io/library/nginx:alpine 0.6s
|
||||
2025-12-30T07:32:35.8769889Z => [internal] load metadata for docker.io/library/node:20-alpine 0.6s
|
||||
2025-12-30T07:32:36.0232692Z [?25h[1A[1A[1A[1A[1A[0G[?25l[+] Building 0.8s (1/3) docker:default
|
||||
2025-12-30T07:32:36.0234190Z [34m => [internal] load build definition from Dockerfile 0.0s
|
||||
2025-12-30T07:32:36.0234835Z [0m[34m => => transferring dockerfile: 925B 0.0s
|
||||
2025-12-30T07:32:36.0235390Z [0m => [internal] load metadata for docker.io/library/nginx:alpine 0.8s
|
||||
2025-12-30T07:32:36.0235815Z => [internal] load metadata for docker.io/library/node:20-alpine 0.8s
|
||||
2025-12-30T07:32:36.1742299Z [?25h[1A[1A[1A[1A[1A[0G[?25l[+] Building 0.9s (1/3) docker:default
|
||||
2025-12-30T07:32:36.1745369Z [34m => [internal] load build definition from Dockerfile 0.0s
|
||||
2025-12-30T07:32:36.1746611Z [0m[34m => => transferring dockerfile: 925B 0.0s
|
||||
2025-12-30T07:32:36.1747627Z [0m => [internal] load metadata for docker.io/library/nginx:alpine 0.9s
|
||||
2025-12-30T07:32:36.1748380Z => [internal] load metadata for docker.io/library/node:20-alpine 0.9s
|
||||
2025-12-30T07:32:36.3236571Z [?25h[1A[1A[1A[1A[1A[0G[?25l[+] Building 1.1s (1/3) docker:default
|
||||
2025-12-30T07:32:36.3237429Z [34m => [internal] load build definition from Dockerfile 0.0s
|
||||
2025-12-30T07:32:36.3237864Z [0m[34m => => transferring dockerfile: 925B 0.0s
|
||||
2025-12-30T07:32:36.3238171Z [0m => [internal] load metadata for docker.io/library/nginx:alpine 1.1s
|
||||
2025-12-30T07:32:36.3238462Z => [internal] load metadata for docker.io/library/node:20-alpine 1.1s
|
||||
2025-12-30T07:32:36.4735168Z [?25h[1A[1A[1A[1A[1A[0G[?25l[+] Building 1.2s (1/3) docker:default
|
||||
2025-12-30T07:32:36.4735713Z [34m => [internal] load build definition from Dockerfile 0.0s
|
||||
2025-12-30T07:32:36.4735915Z [0m[34m => => transferring dockerfile: 925B 0.0s
|
||||
2025-12-30T07:32:36.4736158Z [0m => [internal] load metadata for docker.io/library/nginx:alpine 1.2s
|
||||
2025-12-30T07:32:36.4736394Z => [internal] load metadata for docker.io/library/node:20-alpine 1.2s
|
||||
2025-12-30T07:32:36.6237280Z [?25h[1A[1A[1A[1A[1A[0G[?25l[+] Building 1.4s (1/3) docker:default
|
||||
2025-12-30T07:32:36.6240656Z [34m => [internal] load build definition from Dockerfile 0.0s
|
||||
2025-12-30T07:32:36.6241999Z [0m[34m => => transferring dockerfile: 925B 0.0s
|
||||
2025-12-30T07:32:36.6242738Z [0m => [internal] load metadata for docker.io/library/nginx:alpine 1.4s
|
||||
2025-12-30T07:32:36.6243262Z => [internal] load metadata for docker.io/library/node:20-alpine 1.4s
|
||||
2025-12-30T07:32:36.7739316Z [?25h[1A[1A[1A[1A[1A[0G[?25l[+] Building 1.5s (1/3) docker:default
|
||||
2025-12-30T07:32:36.7741167Z [34m => [internal] load build definition from Dockerfile 0.0s
|
||||
2025-12-30T07:32:36.7741903Z [0m[34m => => transferring dockerfile: 925B 0.0s
|
||||
2025-12-30T07:32:36.7742584Z [0m => [internal] load metadata for docker.io/library/nginx:alpine 1.5s
|
||||
2025-12-30T07:32:36.7743556Z => [internal] load metadata for docker.io/library/node:20-alpine 1.5s
|
||||
2025-12-30T07:32:36.8759780Z [?25h[1A[1A[1A[1A[1A[0G[?25l[+] Building 1.6s (2/3) docker:default
|
||||
2025-12-30T07:32:36.8760359Z [34m => [internal] load build definition from Dockerfile 0.0s
|
||||
2025-12-30T07:32:36.8760687Z [0m[34m => => transferring dockerfile: 925B 0.0s
|
||||
2025-12-30T07:32:36.8760887Z [0m => [internal] load metadata for docker.io/library/nginx:alpine 1.6s
|
||||
2025-12-30T07:32:36.8761114Z [34m => [internal] load metadata for docker.io/library/node:20-alpine 1.6s
|
||||
2025-12-30T07:32:37.0265928Z [0m[?25h[1A[1A[1A[1A[1A[0G[?25l[+] Building 1.8s (2/3) docker:default
|
||||
2025-12-30T07:32:37.0268652Z [34m => [internal] load build definition from Dockerfile 0.0s
|
||||
2025-12-30T07:32:37.0270026Z [0m[34m => => transferring dockerfile: 925B 0.0s
|
||||
2025-12-30T07:32:37.0271170Z [0m => [internal] load metadata for docker.io/library/nginx:alpine 1.8s
|
||||
2025-12-30T07:32:37.0272004Z [34m => [internal] load metadata for docker.io/library/node:20-alpine 1.6s
|
||||
2025-12-30T07:32:37.1768885Z [0m[?25h[1A[1A[1A[1A[1A[0G[?25l[+] Building 1.9s (2/3) docker:default
|
||||
2025-12-30T07:32:37.1769954Z [34m => [internal] load build definition from Dockerfile 0.0s
|
||||
2025-12-30T07:32:37.1770432Z [0m[34m => => transferring dockerfile: 925B 0.0s
|
||||
2025-12-30T07:32:37.1770854Z [0m => [internal] load metadata for docker.io/library/nginx:alpine 1.9s
|
||||
2025-12-30T07:32:37.1771400Z [34m => [internal] load metadata for docker.io/library/node:20-alpine 1.6s
|
||||
2025-12-30T07:32:37.1890360Z [0m[?25h[1A[1A[1A[1A[1A[0G[?25l[+] Building 1.9s (3/3) docker:default
|
||||
2025-12-30T07:32:37.1891094Z [34m => [internal] load build definition from Dockerfile 0.0s
|
||||
2025-12-30T07:32:37.1891331Z [0m[34m => => transferring dockerfile: 925B 0.0s
|
||||
2025-12-30T07:32:37.1891500Z [0m[34m => [internal] load metadata for docker.io/library/nginx:alpine 1.9s
|
||||
2025-12-30T07:32:37.1891783Z [0m[34m => [internal] load metadata for docker.io/library/node:20-alpine 1.6s
|
||||
2025-12-30T07:32:37.2993207Z [0m[?25h[1A[1A[1A[1A[1A[0G[?25l[+] Building 2.1s (14/15) docker:default
|
||||
2025-12-30T07:32:37.2993965Z [34m => CACHED [stage-1 2/3] COPY --from=build /app/dist /usr/share/nginx/htm 0.0s
|
||||
2025-12-30T07:32:37.2994497Z [0m[34m => CACHED [stage-1 3/3] RUN echo 'server { listen 80; server_nam 0.0s
|
||||
2025-12-30T07:32:37.2994889Z [0m => exporting to image 0.0s
|
||||
2025-12-30T07:32:37.2995113Z [34m => => exporting layers 0.0s
|
||||
2025-12-30T07:32:37.2995282Z [0m[34m => => exporting manifest sha256:07b51d6e7a1006650af2c468628cde0a62f44cfa 0.0s
|
||||
2025-12-30T07:32:37.2995438Z [0m[34m => => exporting config sha256:f29c33089c7663ebbb5b4b5aa2d8763ce0f0dbe608 0.0s
|
||||
2025-12-30T07:32:37.2995592Z [0m[34m => => exporting attestation manifest sha256:394edcb413d981f3b4b90e855de3 0.0s
|
||||
2025-12-30T07:32:37.2995761Z [0m => => exporting manifest list sha256:2d5c99a88ce4710519e2c9b5c5be4a08986 0.0s
|
||||
2025-12-30T07:32:37.4074166Z [?25h[1A[1A[1A[1A[1A[1A[1A[1A[1A[0G[?25l[+] Building 2.2s (15/15) FINISHED docker:default
|
||||
2025-12-30T07:32:37.4075141Z [34m => [internal] load build definition from Dockerfile 0.0s
|
||||
2025-12-30T07:32:37.4075759Z [0m[34m => => transferring dockerfile: 925B 0.0s
|
||||
2025-12-30T07:32:37.4076148Z [0m[34m => [internal] load metadata for docker.io/library/nginx:alpine 1.9s
|
||||
2025-12-30T07:32:37.4076431Z [0m[34m => [internal] load metadata for docker.io/library/node:20-alpine 1.6s
|
||||
2025-12-30T07:32:37.4076692Z [0m[34m => [internal] load .dockerignore 0.0s
|
||||
2025-12-30T07:32:37.4076919Z [0m[34m => => transferring context: 366B 0.0s
|
||||
2025-12-30T07:32:37.4077115Z [0m[34m => [build 1/6] FROM docker.io/library/node:20-alpine@sha256:658d0f63e501 0.0s
|
||||
2025-12-30T07:32:37.4077344Z [0m[34m => => resolve docker.io/library/node:20-alpine@sha256:658d0f63e501824d6c 0.0s
|
||||
2025-12-30T07:32:37.4077504Z [0m[34m => [stage-1 1/3] FROM docker.io/library/nginx:alpine@sha256:8491795299c8 0.0s
|
||||
2025-12-30T07:32:37.4077721Z [0m[34m => => resolve docker.io/library/nginx:alpine@sha256:8491795299c8e739b7fc 0.0s
|
||||
2025-12-30T07:32:37.4077871Z [0m[34m => [internal] load build context 0.0s
|
||||
2025-12-30T07:32:37.4078017Z [0m[34m => => transferring context: 168.59kB 0.0s
|
||||
2025-12-30T07:32:37.4078205Z [0m[34m => CACHED [build 2/6] WORKDIR /app 0.0s
|
||||
2025-12-30T07:32:37.4078411Z [0m[34m => CACHED [build 3/6] COPY package.json package-lock.json ./ 0.0s
|
||||
2025-12-30T07:32:37.4078575Z [0m[34m => CACHED [build 4/6] RUN npm ci 0.0s
|
||||
2025-12-30T07:32:37.4078724Z [0m[34m => CACHED [build 5/6] COPY . . 0.0s
|
||||
2025-12-30T07:32:37.4078905Z [0m[34m => CACHED [build 6/6] RUN npm run build 0.0s
|
||||
2025-12-30T07:32:37.4079088Z [0m[34m => CACHED [stage-1 2/3] COPY --from=build /app/dist /usr/share/nginx/htm 0.0s
|
||||
2025-12-30T07:32:37.4079671Z [0m[34m => CACHED [stage-1 3/3] RUN echo 'server { listen 80; server_nam 0.0s
|
||||
2025-12-30T07:32:37.4079963Z [0m[34m => exporting to image 0.1s
|
||||
2025-12-30T07:32:37.4080255Z [0m[34m => => exporting layers 0.0s
|
||||
2025-12-30T07:32:37.4080449Z [0m[34m => => exporting manifest sha256:07b51d6e7a1006650af2c468628cde0a62f44cfa 0.0s
|
||||
2025-12-30T07:32:37.4080603Z [0m[34m => => exporting config sha256:f29c33089c7663ebbb5b4b5aa2d8763ce0f0dbe608 0.0s
|
||||
2025-12-30T07:32:37.4080778Z [0m[34m => => exporting attestation manifest sha256:394edcb413d981f3b4b90e855de3 0.0s
|
||||
2025-12-30T07:32:37.4081040Z [0m[34m => => exporting manifest list sha256:2d5c99a88ce4710519e2c9b5c5be4a08986 0.0s
|
||||
2025-12-30T07:32:37.4081302Z [0m[34m => => naming to docker.io/library/timelapse-calc:latest 0.0s
|
||||
2025-12-30T07:32:37.4081594Z [0m[34m => => unpacking to docker.io/library/timelapse-calc:latest 0.0s
|
||||
2025-12-30T07:32:37.4143763Z [0m[?25h
|
||||
2025-12-30T07:32:37.8437241Z timelapse-calc
|
||||
2025-12-30T07:32:37.8869730Z timelapse-calc
|
||||
2025-12-30T07:32:37.9578262Z 6b42f72afe74af1f06f12d4123382b831509d306567fcab8681bb2b4831b58ee
|
||||
2025-12-30T07:32:38.2451575Z timelapse-calc timelapse-calc:latest Up Less than a second
|
||||
2025-12-30T07:32:38.2452272Z udemy-license udemy-license:latest Up 25 hours
|
||||
2025-12-30T07:32:38.2452514Z udemy-cookies-api udemy-cookies-api:latest Up 25 hours
|
||||
2025-12-30T07:32:38.2452712Z vaultwarden vaultwarden/server:latest Up 27 hours (healthy)
|
||||
2025-12-30T07:32:38.2452878Z bepcuatom-frontend bepcuatom-frontend:latest Up 4 days
|
||||
2025-12-30T07:32:38.2453036Z bepcuatom-backend bepcuatom-backend:latest Up 4 days
|
||||
2025-12-30T07:32:38.2453192Z gitea gitea/gitea:latest Up 23 hours
|
||||
2025-12-30T07:32:38.2453338Z immich_server ghcr.io/immich-app/immich-server:v2 Up 5 days (healthy)
|
||||
2025-12-30T07:32:38.4076472Z
|
||||
2025-12-30T07:32:38.4077335Z ╔════════════════════════════════════════╗
|
||||
2025-12-30T07:32:38.4077723Z ║ 🚀 Deployment Notification System ║
|
||||
2025-12-30T07:32:38.4077997Z ╚════════════════════════════════════════╝
|
||||
2025-12-30T07:32:38.4078206Z
|
||||
2025-12-30T07:32:38.4092152Z [1;33m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━[0m
|
||||
2025-12-30T07:32:38.4093160Z [1;33m📧 Gmail SMTP Email[0m
|
||||
2025-12-30T07:32:38.4093722Z [1;33m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━[0m
|
||||
2025-12-30T07:32:38.4094313Z From: [0;32msitienbmt@gmail.com[0m
|
||||
2025-12-30T07:32:38.4094601Z To: [0;32mtienngodev@proton.me[0m
|
||||
2025-12-30T07:32:38.4095045Z SMTP: [0;32msmtp.gmail.com:587[0m
|
||||
2025-12-30T07:32:38.4095375Z
|
||||
2025-12-30T07:32:38.4095740Z [1;33m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━[0m
|
||||
2025-12-30T07:32:38.4096199Z [1;33m✈️ Telegram Message[0m
|
||||
2025-12-30T07:32:38.4096579Z [1;33m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━[0m
|
||||
2025-12-30T07:32:38.4096905Z Chat ID: [0;32m5722742247[0m
|
||||
2025-12-30T07:32:38.4097158Z
|
||||
2025-12-30T07:32:38.4099255Z [1;33m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━[0m
|
||||
2025-12-30T07:32:38.4099994Z [1;33m🔔 Ntfy Push Notification[0m
|
||||
2025-12-30T07:32:38.4100555Z [1;33m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━[0m
|
||||
2025-12-30T07:32:38.4101318Z Server: [0;32mhttps://ntfy.hcmc.online[0m
|
||||
2025-12-30T07:32:38.4101626Z Topic: [0;32mact_runner_deployment[0m
|
||||
2025-12-30T07:32:38.4101919Z
|
||||
2025-12-30T07:32:38.4102528Z [0;32m✓[0m Using Basic Authentication
|
||||
2025-12-30T07:32:38.4102877Z
|
||||
2025-12-30T07:32:38.4132868Z [1;33m→[0m Sending Telegram message...
|
||||
2025-12-30T07:32:38.4134118Z [1;33m→[0m Sending push notification...
|
||||
2025-12-30T07:32:38.4134573Z [1;33m→[0m Target: https://ntfy.hcmc.online/act_runner_deployment
|
||||
2025-12-30T07:32:38.4304037Z [1;33m→[0m Sending HTML email...
|
||||
2025-12-30T07:32:39.2274173Z [0;32m✓[0m Message sent successfully
|
||||
2025-12-30T07:32:39.2274881Z
|
||||
2025-12-30T07:32:41.4674276Z [0;32m✓[0m Email sent successfully
|
||||
2025-12-30T07:32:41.4675673Z
|
||||
2025-12-30T07:32:41.4689242Z ❌ Failure - Main Send notification
|
||||
2025-12-30T07:32:41.4693405Z exit status 92
|
||||
2025-12-30T07:32:41.4694144Z ❌ Failure - Main Send Deployment Notification
|
||||
2025-12-30T07:32:41.4696719Z exit status 92
|
||||
2025-12-30T07:32:41.4698285Z expression '${{ job.status }}' rewritten to 'format('{0}', job.status)'
|
||||
2025-12-30T07:32:41.4698544Z evaluating expression 'format('{0}', job.status)'
|
||||
2025-12-30T07:32:41.4699160Z expression 'format('{0}', job.status)' evaluated to '%!t(string=failure)'
|
||||
2025-12-30T07:32:41.4699683Z expression 'Branch: ${{ github.ref_name }}\nCommit: ${{ github.sha }}\nMessage: ${{ github.event.head_commit.message }}\nStatus: ${{ job.status }}\nActor: ${{ github.event.head_commit.author.name }}' rewritten to 'format('Branch: {0}\nCommit: {1}\nMessage: {2}\nStatus: {3}\nActor: {4}', github.ref_name, github.sha, github.event.head_commit.message, job.status, github.event.head_commit.author.name)'
|
||||
2025-12-30T07:32:41.4700039Z evaluating expression 'format('Branch: {0}\nCommit: {1}\nMessage: {2}\nStatus: {3}\nActor: {4}', github.ref_name, github.sha, github.event.head_commit.message, job.status, github.event.head_commit.author.name)'
|
||||
2025-12-30T07:32:41.4700945Z expression 'format('Branch: {0}\nCommit: {1}\nMessage: {2}\nStatus: {3}\nActor: {4}', github.ref_name, github.sha, github.event.head_commit.message, job.status, github.event.head_commit.author.name)' evaluated to '%!t(string=Branch: main\nCommit: 932931977e56f0891ab5d38aaa8c9bf33d98a6e5\nMessage: update notify step deploy\n\nStatus: failure\nActor: Tien Ngo)'
|
||||
2025-12-30T07:32:41.4701496Z expression 'Deploy: ${{ github.repository }} - ${{ github.event.head_commit.message }}' rewritten to 'format('Deploy: {0} - {1}', github.repository, github.event.head_commit.message)'
|
||||
2025-12-30T07:32:41.4701754Z evaluating expression 'format('Deploy: {0} - {1}', github.repository, github.event.head_commit.message)'
|
||||
2025-12-30T07:32:41.4702324Z expression 'format('Deploy: {0} - {1}', github.repository, github.event.head_commit.message)' evaluated to '%!t(string=Deploy: tienngo/timelapse-calc - update notify step deploy\n)'
|
||||
2025-12-30T07:32:41.4702901Z evaluating expression 'always()'
|
||||
2025-12-30T07:32:41.4703233Z expression 'always()' evaluated to 'true'
|
||||
2025-12-30T07:32:41.4703441Z ⭐ Run Post Send Deployment Notification
|
||||
2025-12-30T07:32:41.4705793Z run post step for 'Send Deployment Notification'
|
||||
2025-12-30T07:32:41.4706644Z /data/gitea/.cached/act/5d0d2b4f61fe7cc3/act/actions/231e124cf9cb26095e9a23a48769cf6f9d538910dcf8b91081f910a9f3cd9cd1
|
||||
2025-12-30T07:32:41.4707054Z Stripping prefix:/data/gitea/.cached/act/231e124cf9cb26095e9a23a48769cf6f9d538910dcf8b91081f910a9f3cd9cd1/ src:/data/gitea/.cached/act/231e124cf9cb26095e9a23a48769cf6f9d538910dcf8b91081f910a9f3cd9cd1/
|
||||
2025-12-30T07:32:41.5883739Z ✅ Success - Post Send Deployment Notification
|
||||
2025-12-30T07:32:41.5888078Z evaluating expression 'always()'
|
||||
2025-12-30T07:32:41.5888614Z expression 'always()' evaluated to 'true'
|
||||
2025-12-30T07:32:41.5888834Z ⭐ Run Post actions/checkout@v4
|
||||
2025-12-30T07:32:41.5890816Z run post step for 'actions/checkout@v4'
|
||||
2025-12-30T07:32:41.5891666Z executing remote job container: [node /data/gitea/.cached/act/5d0d2b4f61fe7cc3/act/actions/c3fe249fe73091a17d6638fe1341e7bd0bcc3466ce52323c0688e83e2463a4ab/dist/index.js]
|
||||
2025-12-30T07:32:41.7173670Z [command]/usr/bin/git version
|
||||
2025-12-30T07:32:41.7227322Z git version 2.39.5
|
||||
2025-12-30T07:32:41.7263798Z ***
|
||||
2025-12-30T07:32:41.7277313Z Copying '/root/.gitconfig' to '/data/gitea/.cached/act/5d0d2b4f61fe7cc3/tmp/d51fc143-53fe-480a-8347-b89464300cdf/.gitconfig'
|
||||
2025-12-30T07:32:41.7292479Z Temporarily overriding HOME='/data/gitea/.cached/act/5d0d2b4f61fe7cc3/tmp/d51fc143-53fe-480a-8347-b89464300cdf' before making global git config changes
|
||||
2025-12-30T07:32:41.7293705Z Adding repository directory to the temporary git global config as a safe directory
|
||||
2025-12-30T07:32:41.7301326Z [command]/usr/bin/git config --global --add safe.directory /data/gitea/.cached/act/5d0d2b4f61fe7cc3/hostexecutor
|
||||
2025-12-30T07:32:41.7349164Z [command]/usr/bin/git config --local --name-only --get-regexp core\.sshCommand
|
||||
2025-12-30T07:32:41.7400252Z [command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || :"
|
||||
2025-12-30T07:32:41.7652558Z [command]/usr/bin/git config --local --name-only --get-regexp http\.https\:\/\/git\.hcmc\.online\/\.extraheader
|
||||
2025-12-30T07:32:41.7679784Z http.https://git.hcmc.online/.extraheader
|
||||
2025-12-30T07:32:41.7694965Z [command]/usr/bin/git config --local --unset-all http.https://git.hcmc.online/.extraheader
|
||||
2025-12-30T07:32:41.7793730Z [command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'http\.https\:\/\/git\.hcmc\.online\/\.extraheader' && git config --local --unset-all 'http.https://git.hcmc.online/.extraheader' || :"
|
||||
2025-12-30T07:32:41.8044091Z [command]/usr/bin/git config --local --name-only --get-regexp ^includeIf\.gitdir:
|
||||
2025-12-30T07:32:41.8086505Z [command]/usr/bin/git submodule foreach --recursive git config --local --show-origin --name-only --get-regexp remote.origin.url
|
||||
2025-12-30T07:32:41.8393480Z ✅ Success - Post actions/checkout@v4
|
||||
2025-12-30T07:32:41.8396921Z Cleaning up container for job deploy
|
||||
2025-12-30T07:32:41.8898513Z 🏁 Job failed
|
||||
2025-12-30T07:32:41.8899384Z Job 'deploy' failed
|
||||
16
notify.sh
16
notify.sh
@@ -57,13 +57,27 @@ EOF
|
||||
echo -e " ${YELLOW}→${NC} Sending push notification..."
|
||||
echo -e " ${YELLOW}→${NC} Target: $NTFY_URL/$NTFY_TOPIC"
|
||||
|
||||
response=$(curl -s -w "\n%{http_code}" $auth_args -X POST "$NTFY_URL/$NTFY_TOPIC" \
|
||||
# Capture curl response and exit code separately
|
||||
set +e # Temporarily disable exit on error for curl
|
||||
response=$(curl -s -w "\n%{http_code}" --http1.1 -k $auth_args -X POST "$NTFY_URL/$NTFY_TOPIC" \
|
||||
-H "Title: $ICON $TITLE" \
|
||||
-H "Priority: $priority" \
|
||||
-H "Tags: $tags" \
|
||||
-H "Click: $click_url" \
|
||||
-H "Actions: view, Open Logs, $click_url, clear=true" \
|
||||
-d "$rich_message" 2>&1)
|
||||
curl_exit_code=$?
|
||||
set -e # Re-enable exit on error
|
||||
|
||||
# Check if curl command itself failed
|
||||
if [ $curl_exit_code -ne 0 ]; then
|
||||
echo -e " ${RED}✗${NC} Failed to send notification (curl error: $curl_exit_code)"
|
||||
if [ -n "$response" ]; then
|
||||
echo -e " ${RED}Error:${NC} $response"
|
||||
fi
|
||||
echo ""
|
||||
return 0 # Return success to prevent script failure
|
||||
fi
|
||||
|
||||
http_code=$(echo "$response" | tail -n1)
|
||||
response_body=$(echo "$response" | head -n -1)
|
||||
|
||||
Reference in New Issue
Block a user