fixing CI
Test / build_and_test (push) Successful in 19s
Build / build (push) Successful in 28s

This commit is contained in:
2026-06-02 21:46:37 +02:00
parent 76be771215
commit a7aad1c2e8
+13 -8
View File
@@ -9,10 +9,13 @@ on:
jobs: jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, 'ci skip')" if: ${{ github.event_name != 'push' || !contains(github.event.head_commit.message, 'ci skip') }}
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: https://codeberg.org/mlugg/setup-zig@v2 - uses: https://codeberg.org/mlugg/setup-zig@v2
- name: Building - name: Building
@@ -22,12 +25,14 @@ jobs:
run: zig build docs run: zig build docs
- name: Deploying docs - name: Deploying docs
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
uses: milanmk/actions-file-deployer@master uses: milanmk/actions-file-deployer@master
with: with:
sftp_only: true remote-protocol: sftp
server: ${{ secrets.SFTP_HOST_DOCS }} remote-host: ${{ secrets.SFTP_HOST_DOCS }}
username: ${{ secrets.SFTP_USER_DOCS }} remote-user: ${{ secrets.SFTP_USER_DOCS }}
password: ${{ secrets.SFTP_PASSWORD_DOCS }} remote-password: ${{ secrets.SFTP_PASSWORD_DOCS }}
local_path: './zig-out/docs/*' remote-port: 6969
remote_path: /www local-path: ./zig-out/docs
port: 6969 remote-path: /www
sync: full