We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7caf640 commit 1c3bc12Copy full SHA for 1c3bc12
.github/workflows/CD.yml
@@ -39,8 +39,7 @@ jobs:
39
key: ${{ secrets.FRONT_HOST_KEY }}
40
port: ${{ secrets.FRONT_HOST_PORT }}
41
source: "dist/*"
42
- target: /var/www/html/
43
- rm: 'true'
+ target: /
44
#
45
# - name: Create nginx.conf
46
# run: touch ./nginx.conf
@@ -63,6 +62,8 @@ jobs:
63
62
64
65
script: |
+ sudo rm -rf /var/www/html/*
66
+ sudo cp -r dist/* /var/www/html/
67
sudo systemctl restart nginx
68
# docker rm -f taskflow-front
69
# docker image rm ${{ secrets.DOCKER_FRONT_REPO }} -f
0 commit comments