Actions - added deploy
This commit is contained in:
parent
ac5906df55
commit
08b8b6b58c
@ -25,15 +25,6 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
zola build
|
zola build
|
||||||
|
|
||||||
test:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- name: list
|
|
||||||
run: |
|
|
||||||
echo ${{ github.workspace }}
|
|
||||||
echo $GITHUB_WORKSPACE
|
|
||||||
ls $GITHUB_WORKSPACE
|
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
needs: build
|
needs: build
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@ -46,7 +37,7 @@ jobs:
|
|||||||
DEPLOY_KEY: ${{ secrets.DEPLOY_KEY }}
|
DEPLOY_KEY: ${{ secrets.DEPLOY_KEY }}
|
||||||
ARGS: "-e -c -r --delete"
|
ARGS: "-e -c -r --delete"
|
||||||
SERVER_PORT: 22
|
SERVER_PORT: 22
|
||||||
FOLDER: "${{ github.workspace }}"
|
FOLDER: "./public"
|
||||||
SERVER_IP: ${{ secrets.SERVER_IP }}
|
SERVER_IP: ${{ secrets.SERVER_IP }}
|
||||||
USERNAME: ${{ secrets.USERNAME }}
|
USERNAME: ${{ secrets.USERNAME }}
|
||||||
SERVER_DESTINATION: "/srv/www/cz/pkmples/www"
|
SERVER_DESTINATION: "/srv/www/cz/pkmples/www"
|
||||||
|
Loading…
Reference in New Issue
Block a user