Actions - added deploy
This commit is contained in:
parent
7d4839f322
commit
0f5bd2c352
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user