Files
VulkanDriver/.gitea/workflows/Build.yml
T
kbz_8 d4e835b6af
Test / build_and_test (push) Successful in 23s
Build / build (push) Failing after 35s
fixing CI
2026-06-02 21:54:16 +02:00

39 lines
1008 B
YAML

name: Build
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: ubuntu-latest
if: ${{ github.event_name != 'push' || !contains(github.event.head_commit.message, 'ci skip') }}
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: https://codeberg.org/mlugg/setup-zig@v2
- name: Building
run: zig build soft
- name: Generating docs
run: zig build docs
- name: Deploying docs
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
uses: milanmk/actions-file-deployer@master
with:
remote-protocol: sftp
remote-host: ${{ secrets.SFTP_HOST_DOCS }}
remote-user: ${{ secrets.SFTP_USER_DOCS }}
remote-password: ${{ secrets.SFTP_PASSWORD_DOCS }}
remote-port: 6969
local-path: ./zig-out/docs/index.html
remote-path: /www/error/404.html
sync: full