From 0f5bd2c352de1e2e7fd48a07b97c752de962f3b3 Mon Sep 17 00:00:00 2001 From: Filip Rojek Date: Thu, 7 Dec 2023 17:29:10 +0100 Subject: [PATCH] Actions - added deploy --- .gitea/workflows/build.yaml | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index fee3e94..0121134 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -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"