We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d9def24 commit cf868d4Copy full SHA for cf868d4
.github/workflows/build-push.yml
@@ -0,0 +1,30 @@
1
+name: build preview
2
+
3
+on:
4
+ release:
5
+ types:
6
+ - published
7
+ pull_request:
8
+ branches:
9
+ - "*"
10
11
+env:
12
+ REPO_OWNER: "nginx"
13
+ REPO_NAME: "documentation"
14
15
+jobs:
16
+ deploy-example-site:
17
+ uses: nginxinc/docs-actions/.github/workflows/docs-build-push.yml@9c59fab05a8131f4d691ba6ea2b6a119f3ef832a # v1.0.7
18
+ with:
19
+ production_url_path: "/nginx-hugo-theme"
20
+ preview_url_path: "/previews/nginx-hugo-theme"
21
+ docs_source_path: "public"
22
+ docs_build_path: "./exampleSite"
23
+ doc_type: "hugo"
24
+ environment: "preview"
25
+ force_hugo_theme_version: ""
26
+ auto_deploy_branch: "main"
27
+ auto_deploy_env: "prod"
28
+ secrets:
29
+ AZURE_CREDENTIALS: ${{secrets.AZURE_CREDENTIALS_DOCS}}
30
+ AZURE_KEY_VAULT: ${{secrets.AZURE_KEY_VAULT_DOCS}}
0 commit comments