try new deployment
This commit is contained in:
@@ -6,10 +6,6 @@ on:
|
|||||||
pull_request:
|
pull_request:
|
||||||
branches: [ "master" ]
|
branches: [ "master" ]
|
||||||
|
|
||||||
permissions:
|
|
||||||
contents: read
|
|
||||||
deployments: write
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@@ -18,9 +14,6 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: https://codeberg.org/mlugg/setup-zig@v2
|
- uses: https://codeberg.org/mlugg/setup-zig@v2
|
||||||
- uses: actions/setup-node@v6
|
|
||||||
with:
|
|
||||||
node-version: 24
|
|
||||||
|
|
||||||
- name: Building
|
- name: Building
|
||||||
run: zig build soft
|
run: zig build soft
|
||||||
@@ -28,10 +21,13 @@ jobs:
|
|||||||
- name: Generating docs
|
- name: Generating docs
|
||||||
run: zig build docs
|
run: zig build docs
|
||||||
|
|
||||||
- name: Publish to Cloudflare Pages
|
- name: SFTP-Deploy-Action
|
||||||
uses: cloudflare/wrangler-action@v3
|
uses: milanmk/actions-file-deployer@master
|
||||||
with:
|
with:
|
||||||
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
|
remote-protocol: sftp
|
||||||
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
|
remote-host: ${{ secrets.SFTP_HOST_DOCS }}
|
||||||
command: pages deploy zig-out/docs --project-name=vulkan-driver-docs
|
remote-user: ${{ secrets.SFTP_USER_DOCS }}
|
||||||
gitHubToken: ${{ secrets.GITHUB_TOKEN }}
|
remote-password: ${{ secrets.SFTP_PASSWORD_DOCS }}
|
||||||
|
local_path: './zig-out/docs/*'
|
||||||
|
remote-path: /www
|
||||||
|
remote-port: 6969
|
||||||
|
|||||||
Reference in New Issue
Block a user