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

This commit is contained in:
2026-06-02 22:01:34 +02:00
parent d4e835b6af
commit 042662a928
+8 -2
View File
@@ -24,6 +24,12 @@ jobs:
- name: Generating docs - name: Generating docs
run: zig build docs run: zig build docs
- name: Prepare docs deploy payload
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
run: |
mkdir -p ./deploy-docs
cp ./zig-out/docs/index.html ./deploy-docs/404.html
- name: Deploying docs - name: Deploying docs
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }} if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
uses: milanmk/actions-file-deployer@master uses: milanmk/actions-file-deployer@master
@@ -33,6 +39,6 @@ jobs:
remote-user: ${{ secrets.SFTP_USER_DOCS }} remote-user: ${{ secrets.SFTP_USER_DOCS }}
remote-password: ${{ secrets.SFTP_PASSWORD_DOCS }} remote-password: ${{ secrets.SFTP_PASSWORD_DOCS }}
remote-port: 6969 remote-port: 6969
local-path: ./zig-out/docs/index.html local-path: "./deploy-docs"
remote-path: /www/error/404.html remote-path: "/www/error"
sync: full sync: full