From b3d378262d963cbc23e00b2dfc4993f7719cd8a6 Mon Sep 17 00:00:00 2001 From: noxilixon <93288913+noxilixon@users.noreply.github.com> Date: Tue, 7 Nov 2023 03:44:42 +0100 Subject: [PATCH] Update deploy.yml --- .github/workflows/deploy.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index c1815f8..c3b383c 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -25,3 +25,12 @@ jobs: - name: Build run: hugo --minify + + - name: Deploy + uses: appleboy/scp-action@master + with: + host: ${{ secrets.PRODUCTION_SERVER }} + username: ${{ secrets.PRODUCTION_USERNAME }} + key: ${{ secrets.PRODUCTION_SSH_KEY }} + source: "public/" + target: ${{ secrets.PRODUCTION_WEBROOT }}