更新 .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
61bb5f2d7a
commit
6be7285d09
|
@ -66,6 +66,7 @@ jobs:
|
|||
- name: Run On Server
|
||||
run: |
|
||||
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
|
||||
id: nginx
|
||||
|
@ -73,7 +74,7 @@ jobs:
|
|||
run: |
|
||||
echo "Hello, world!" > "${{ steps.nginx.outputs.html-dir }}/index.html"
|
||||
|
||||
curl http://localhost:${{ steps.nginx.outputs.port }}/
|
||||
curl http://${{vars.DOMAIN}}:5678:${{ steps.nginx.outputs.port }}/
|
||||
# Expected output: Hello, world!
|
||||
|
||||
cat "${{ steps.nginx.outputs.access-log }}"
|
||||
|
|
Loading…
Reference in New Issue