File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 73
73
EOF
74
74
)
75
75
76
- curl -o deploy.sh https://raw.githubusercontent.com/jefferyjob/deployments/refs/heads/feature/before_after_func/scripts/deploy.docker.sh
76
+ # 部署
77
+ deploy_docker_url="https://raw.githubusercontent.com/jefferyjob/deployments/refs/heads/${{ github.ref_name }}/scripts/deploy.docker.sh"
78
+ echo "deploy_docker_url: $deploy_docker_url"
79
+ curl -o deploy.sh $deploy_docker_url
77
80
chmod +x deploy.sh
78
81
./deploy.sh key deploy
79
82
Original file line number Diff line number Diff line change @@ -50,8 +50,8 @@ print_env() {
50
50
echo " CONTAINER_NAME: $CONTAINER_NAME "
51
51
echo " DOCKER_RUN_PARAMS: $DOCKER_RUN_PARAMS "
52
52
echo " --------------------------------------------------------------------------"
53
- [[ -n " $BEFORE_FUNC " ]] && echo " BEFORE_FUNC: ****** "
54
- [[ -n " $AFTER_FUNC " ]] && echo " AFTER_FUNC: ****** "
53
+ [[ -n " $BEFORE_FUNC " ]] && echo " BEFORE_FUNC: $BEFORE_FUNC "
54
+ [[ -n " $AFTER_FUNC " ]] && echo " AFTER_FUNC: $AFTER_FUNC "
55
55
echo " --------------------------------------------------------------------------"
56
56
echo " AUTH_METHOD: $AUTH_METHOD "
57
57
echo " ACTION: $ACTION "
You can’t perform that action at this time.
0 commit comments