Skip to content

Commit

Permalink
Merge pull request #53 from stack-wuh/feat-ci
Browse files Browse the repository at this point in the history
fix: (ci) 测试自动重启容器脚本错误
  • Loading branch information
stack-wuh committed Dec 12, 2021
2 parents 326d109 + 631220b commit 7df3a69
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/docker-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ jobs:
needs: [push_to_docker]
env:
TAG_REF: ${{ github.ref }}
GITHUB_CONTEXT: ${{ toJson(github) }}
steps:
- name: executing remote ssh commands using password
uses: appleboy/ssh-action@master
Expand All @@ -62,6 +63,9 @@ jobs:
docker ps -a
tag=`echo ${TAG_REF}|awk -F/ '{print $3}'`
echo "[github bot] version:" ${tag}
echo ${TAG_REF}
echo "$GITHUB_CONTEXT"
cd /home/next-web-app/frontend
./bin/clear-docker.sh
./bin/build-container.sh ${tag}
./bin/build-container.sh ${tag} hello world

2 comments on commit 7df3a69

@vercel
Copy link

@vercel vercel bot commented on 7df3a69 Dec 12, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Deployment failed with the following error:

The most recent charge for your active payment method has failed. Please update it here: https://vercel.com/teams/163m/settings/billing.

@vercel
Copy link

@vercel vercel bot commented on 7df3a69 Dec 12, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.