1
0

Actions - added deploy

This commit is contained in:
Filip Rojek 2023-12-07 17:29:10 +01:00
parent ac5906df55
commit 08b8b6b58c

View File

@ -25,15 +25,6 @@ jobs:
run: |
zola build
test:
runs-on: ubuntu-latest
steps:
- name: list
run: |
echo ${{ github.workspace }}
echo $GITHUB_WORKSPACE
ls $GITHUB_WORKSPACE
deploy:
needs: build
runs-on: ubuntu-latest
@ -46,7 +37,7 @@ jobs:
DEPLOY_KEY: ${{ secrets.DEPLOY_KEY }}
ARGS: "-e -c -r --delete"
SERVER_PORT: 22
FOLDER: "${{ github.workspace }}"
FOLDER: "./public"
SERVER_IP: ${{ secrets.SERVER_IP }}
USERNAME: ${{ secrets.USERNAME }}
SERVER_DESTINATION: "/srv/www/cz/pkmples/www"