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

This commit is contained in:
root 2024-07-09 22:14:02 +08:00
parent 5f8bbf3192
commit 5d4a74adfb
1 changed files with 1 additions and 2 deletions

View File

@ -67,8 +67,7 @@ jobs:
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 - 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"