Skip to content

Commit

Permalink
更新 workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
Wcc723 committed Oct 1, 2023
1 parent cd0323e commit e740786
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy-docker-vps.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Deploy Node.js project to virtual machine
name: 部署 Docker images 至虛擬主機

on:
push:
Expand Down Expand Up @@ -54,4 +54,4 @@ jobs:
docker rm -f github-ac-sample || true
docker run -d -p 3003:3000 --name github-ac-sample --env-file $HOME/websample/node-env/.env ${{ secrets.DOCKER_HUB_USERNAME }}/ironman-app-2023-amd64:latest
'
# Docker 指令中,不能使用 `~` 路徑,建議替換為其他的絕對路徑名稱(此範例作為演示直接使用 `/root`)
# Docker 指令中,不能使用 `~` 路徑,可以使用 $Home 作為替代

0 comments on commit e740786

Please sign in to comment.