Update .gitea/workflows/deploy.yaml
All checks were successful
ci/cd / Build (push) Successful in 12s
All checks were successful
ci/cd / Build (push) Successful in 12s
This commit is contained in:
parent
7a9f716f62
commit
8b5cca0c64
@ -21,7 +21,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
docker container rm -f ${{ env.run_name }} || true
|
docker container rm -f ${{ env.run_name }} || true
|
||||||
docker run -d --network=web --restart unless-stopped --name ${{ env.run_name }} ${{ gitea.repository }}:${{ env.sha_short }}
|
docker run -d --network=web --restart unless-stopped --name ${{ env.run_name }} ${{ gitea.repository }}:${{ env.sha_short }}
|
||||||
/usr/local/bin/caddycontrol -host ${{ env.domain_name }} -dial ${{ env.run_name }}:${{ env.docker_port }}
|
/usr/bin/caddyconf --add --url ${{ env.domain_name }} --name ${{ env.run_name }} --port ${{ env.docker_port }}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user