mirror of
https://github.com/NixOS/nix.git
synced 2025-11-14 06:22:42 +01:00
Try publishing the manual again
This commit is contained in:
parent
8a1b94d705
commit
37071b2d2d
2 changed files with 18 additions and 2 deletions
17
.github/workflows/build.yml
vendored
17
.github/workflows/build.yml
vendored
|
|
@ -29,6 +29,18 @@ on:
|
||||||
required: false
|
required: false
|
||||||
default: false
|
default: false
|
||||||
type: boolean
|
type: boolean
|
||||||
|
publish_manual:
|
||||||
|
required: false
|
||||||
|
default: false
|
||||||
|
type: boolean
|
||||||
|
manual_netlify_auth_token:
|
||||||
|
required: false
|
||||||
|
default: ""
|
||||||
|
type: string
|
||||||
|
manual_netlify_site_id:
|
||||||
|
required: false
|
||||||
|
default: ""
|
||||||
|
type: string
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
|
@ -179,6 +191,7 @@ jobs:
|
||||||
- name: Build manual
|
- name: Build manual
|
||||||
run: nix build .#hydraJobs.manual
|
run: nix build .#hydraJobs.manual
|
||||||
- uses: nwtgck/actions-netlify@v3.0
|
- uses: nwtgck/actions-netlify@v3.0
|
||||||
|
if: inputs.publish_manual
|
||||||
with:
|
with:
|
||||||
publish-dir: "./result/share/doc/nix/manual"
|
publish-dir: "./result/share/doc/nix/manual"
|
||||||
production-branch: detsys-main
|
production-branch: detsys-main
|
||||||
|
|
@ -192,8 +205,8 @@ jobs:
|
||||||
enable-commit-status: true
|
enable-commit-status: true
|
||||||
overwrites-pull-request-comment: true
|
overwrites-pull-request-comment: true
|
||||||
env:
|
env:
|
||||||
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
|
NETLIFY_AUTH_TOKEN: ${{ inputs.manual_netlify_auth_token }}
|
||||||
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}
|
NETLIFY_SITE_ID: ${{ inputs.manual_netlify_site_id }}
|
||||||
|
|
||||||
success:
|
success:
|
||||||
needs:
|
needs:
|
||||||
|
|
|
||||||
3
.github/workflows/ci.yml
vendored
3
.github/workflows/ci.yml
vendored
|
|
@ -41,6 +41,9 @@ jobs:
|
||||||
run_tests: true
|
run_tests: true
|
||||||
run_vm_tests: true
|
run_vm_tests: true
|
||||||
run_regression_tests: true
|
run_regression_tests: true
|
||||||
|
publish_manual: true
|
||||||
|
manual_netlify_auth_token: ${{ secrets.NETLIFY_AUTH_TOKEN }}
|
||||||
|
manual_netlify_site_id: ${{ secrets.NETLIFY_SITE_ID }}
|
||||||
|
|
||||||
build_aarch64-linux:
|
build_aarch64-linux:
|
||||||
uses: ./.github/workflows/build.yml
|
uses: ./.github/workflows/build.yml
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue