更新 .gitea/workflows/main.yaml
Docker Deploy / build-and-deploy (push) Failing after 0s Details

This commit is contained in:
root 2024-07-09 22:12:33 +08:00
parent 6be7285d09
commit 5f8bbf3192
1 changed files with 1 additions and 2 deletions

View File

@ -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"