From f48b72c54e5d5ce6b94cba3da713aa4ef1948bef Mon Sep 17 00:00:00 2001 From: Marc Froehlich Date: Mon, 6 Jul 2026 02:02:47 +0200 Subject: [PATCH] Change website workflow to build-only --- .github/workflows/website-deploy.yml | 28 ++++++++++++++++------------ 1 file changed, 16 insertions(+), 12 deletions(-) diff --git a/.github/workflows/website-deploy.yml b/.github/workflows/website-deploy.yml index cfed4d3..790ba30 100644 --- a/.github/workflows/website-deploy.yml +++ b/.github/workflows/website-deploy.yml @@ -1,4 +1,4 @@ -name: Build and Deploy Website +name: Build Website on: push: @@ -8,21 +8,28 @@ on: - website/** - github_docs/** - .github/workflows/website-deploy.yml + pull_request: + branches: + - main + paths: + - website/** + - github_docs/** + - .github/workflows/website-deploy.yml workflow_dispatch: env: FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true concurrency: - group: website-deploy + group: website-build-${{ github.ref }} cancel-in-progress: true permissions: contents: read jobs: - build-and-deploy: - name: Build and Deploy 11ty Website + build-website: + name: Build 11ty Website runs-on: ubuntu-latest steps: @@ -44,12 +51,9 @@ jobs: working-directory: website run: npm run build - - name: Deploy via rsync - uses: easingthemes/ssh-deploy@v5.1.0 + - name: Upload website artifact + uses: actions/upload-artifact@v4.3.4 with: - SSH_PRIVATE_KEY: ${{ secrets.KST4CONTEST_DEPLOY_KEY }} - REMOTE_HOST: ${{ secrets.KST4CONTEST_DEPLOY_HOST }} - REMOTE_USER: ${{ secrets.KST4CONTEST_DEPLOY_USER }} - SOURCE: website/_site/ - TARGET: ${{ secrets.KST4CONTEST_DEPLOY_PATH }} - ARGS: "-rlgoDzvc --delete" \ No newline at end of file + name: kst4contest-website + path: website/_site/ + retention-days: 7 \ No newline at end of file