ci: 添加 Act 部署命令
- 增加了 Act 部署命令以解决潜在的部署问题 - 该命令配置了网络模式、 artifact 和缓存服务器地址等参数
This commit is contained in:
@@ -3,6 +3,9 @@
|
|||||||
act --version
|
act --version
|
||||||
brew install act
|
brew install act
|
||||||
|
|
||||||
|
# https://github.com/nektos/act/issues/1866#issuecomment-2250414551
|
||||||
|
act --network="bridge" --artifact-server-addr="host.docker.internal" --cache-server-addr="host.docker.internal" --workflows=.github/workflows/ci-cd.yaml --pull=false --secret-file=.env.secrets.local --job=deploy
|
||||||
|
|
||||||
act --workflows .gitea/workflows/docker-image.yml -P ubuntu-arm64=gitea/runner-images:ubuntu-latest --pull=false --secret-file my.secrets
|
act --workflows .gitea/workflows/docker-image.yml -P ubuntu-arm64=gitea/runner-images:ubuntu-latest --pull=false --secret-file my.secrets
|
||||||
|
|
||||||
# curl --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/nektos/act/master/install.sh | sudo bash
|
# curl --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/nektos/act/master/install.sh | sudo bash
|
||||||
|
Reference in New Issue
Block a user