更新 .gitea/workflows/main.yaml
Docker Deploy / build-and-deploy (push) Failing after 0s
Details
Docker Deploy / build-and-deploy (push) Failing after 0s
Details
This commit is contained in:
parent
6be7285d09
commit
5f8bbf3192
|
@ -66,11 +66,10 @@ jobs:
|
||||||
- name: Run On Server
|
- name: Run On Server
|
||||||
run: |
|
run: |
|
||||||
docker run -d --name $CTN_NAME -p $HOST_PORT:8080 $REMOTE_IMG_NAME
|
docker run -d --name $CTN_NAME -p $HOST_PORT:8080 $REMOTE_IMG_NAME
|
||||||
|
|
||||||
- name: setup nginx
|
- name: setup nginx
|
||||||
uses: http://${{vars.DOMAIN}}:5678/tools/action-setup-nginx@v1
|
uses: http://${{vars.DOMAIN}}:5678/tools/action-setup-nginx@v1
|
||||||
id: nginx
|
id: nginx
|
||||||
|
|
||||||
run: |
|
run: |
|
||||||
echo "Hello, world!" > "${{ steps.nginx.outputs.html-dir }}/index.html"
|
echo "Hello, world!" > "${{ steps.nginx.outputs.html-dir }}/index.html"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue