From 848aa8e2c1b499566c9d44631e4b7fdc24536629 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felix=20=22xq=22=20Quei=C3=9Fner?= Date: Fri, 23 Feb 2024 13:59:39 +0100 Subject: [PATCH] Adjusts CI runs a bit --- .github/workflows/pr.yml | 28 +++++++++++++--------------- .github/workflows/website.yml | 20 ++++++++++---------- 2 files changed, 23 insertions(+), 25 deletions(-) diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index a4d41eb..67bc9c5 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -10,24 +10,22 @@ jobs: with: submodules: 'recursive' - name: Setup Zig - uses: goto-bus-stop/setup-zig@v1 + uses: goto-bus-stop/setup-zig@v2 with: - version: 0.10.1 + version: master - name: Render website run: | - zig build gen - - name: Deploy preview with SCP - uses: horochx/deploy-via-scp@1.1.0 - with: - local: render/* - remote: 'zeg-pr/${{ github.event.number }}/' - ensureRemote: true - user: generic-ci - host: random-projects.net - key: ${{ secrets.WEBSITE_PRIVATE_KEY }} # - write_comment: - runs-on: ubuntu-latest - steps: + zig build + # - name: Deploy preview with SCP + # uses: horochx/deploy-via-scp@1.1.0 + # with: + # local: render/* + # remote: 'zeg-pr/${{ github.event.number }}/' + # ensureRemote: true + # user: generic-ci + # host: random-projects.net + # key: ${{ secrets.WEBSITE_PRIVATE_KEY }} # + - uses: mshick/add-pr-comment@v1 with: message: | diff --git a/.github/workflows/website.yml b/.github/workflows/website.yml index 272b4e2..9799380 100644 --- a/.github/workflows/website.yml +++ b/.github/workflows/website.yml @@ -18,17 +18,17 @@ jobs: - name: Setup Zig uses: goto-bus-stop/setup-zig@v2 with: - version: 0.10.1 + version: master - name: Render website run: | - zig build gen + zig build - - name: Deploy with SCP - uses: noobly314/deploy-with-scp@v1 - with: - src: render/* - dest: zeg/ - username: generic-ci - server-ip: random-projects.net - ssh-key: ${{ secrets.WEBSITE_PRIVATE_KEY }} # + # - name: Deploy with SCP + # uses: noobly314/deploy-with-scp@v1 + # with: + # src: render/* + # dest: zeg/ + # username: generic-ci + # server-ip: random-projects.net + # ssh-key: ${{ secrets.WEBSITE_PRIVATE_KEY }} #