From 33a8051e231c2f3ea376b83d869d6159d193f129 Mon Sep 17 00:00:00 2001 From: Joshua Thijssen Date: Fri, 13 Sep 2024 10:24:46 +0200 Subject: [PATCH] deploy test --- .github/workflows/deploy.yaml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index 17d8927..9c615d4 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -5,14 +5,15 @@ on: tags: - v* branches: - - main - - site-deploy + - deploy jobs: - build: + build_and_deploy: runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 + - name: Build gosub website + uses: withastro/action@v2 - name: SSH setup run: | mkdir -p ~/.ssh @@ -23,4 +24,4 @@ jobs: SSH_KNOWN_HOSTS: ${{secrets.SSH_KNOWN_HOSTS}} SSH_DEPLOY_KEY: ${{secrets.SSH_DEPLOY_KEY}} - name: Rsync - run: rsync -avz public/ deploy@developer.gosub.io:/wwwroot/gosub.io/public + run: rsync -avz dist/ deploy@developer.gosub.io:/wwwroot/gosub.io/public