Setup deployment via CI #2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user