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
+22 -17
View File
@@ -9,25 +9,30 @@ 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
- uses: https://codeberg.org/mlugg/setup-zig@v2 with:
fetch-depth: 0
- name: Building - uses: https://codeberg.org/mlugg/setup-zig@v2
run: zig build soft
- name: Generating docs - name: Building
run: zig build docs run: zig build soft
- name: Deploying docs - name: Generating docs
uses: milanmk/actions-file-deployer@master run: zig build docs
with:
sftp_only: true - name: Deploying docs
server: ${{ secrets.SFTP_HOST_DOCS }} if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
username: ${{ secrets.SFTP_USER_DOCS }} uses: milanmk/actions-file-deployer@master
password: ${{ secrets.SFTP_PASSWORD_DOCS }} with:
local_path: './zig-out/docs/*' remote-protocol: sftp
remote_path: /www remote-host: ${{ secrets.SFTP_HOST_DOCS }}
port: 6969 remote-user: ${{ secrets.SFTP_USER_DOCS }}
remote-password: ${{ secrets.SFTP_PASSWORD_DOCS }}
remote-port: 6969
local-path: ./zig-out/docs
remote-path: /www
sync: full