Setup deployment via CI #2

Merged
mxmehl merged 7 commits from ci into main 2024-01-10 16:32:49 +01:00
Showing only changes of commit f976c33332 - Show all commits

View File

@@ -42,16 +42,16 @@ jobs:
- name: Build website with Hugo
run: hugo
# - name: Copy website to host
# uses: appleboy/scp-action@v0.1.7
# with:
# host: fewo-casa-maria.de
# username: fewocm
# key: ${{ secrets.SSH_KEY }}
# port: 22
# timeout: 1m
# command_timeout: 2m
# target: "/var/www/virtual/fewocm/beta.fewo-casa-maria.de/"
# source: "public/*"
# rm: true
# strip_components: 1
- name: Copy website to host
uses: https://github.com/appleboy/scp-action@v0.1.7
with:
host: mehl.mx
username: maxmehl
key: ${{ secrets.SSH_KEY }}
port: 22
timeout: 1m
command_timeout: 2m
target: "/var/www/virtual/maxmehl/html/"
source: "public/*"
rm: true
strip_components: 1