Update release-build to only work if there is a full release #373
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: build preview | |
on: | |
pull_request: | |
branches: | |
- "*" | |
env: | |
REPO_OWNER: "nginx" | |
REPO_NAME: "documentation" | |
jobs: | |
deploy-example-site: | |
uses: nginxinc/docs-actions/.github/workflows/docs-build-push.yml@285440f02d9967b62aeb1b7e0b5c2c70d4f950cf # v1.0.10 | |
with: | |
production_url_path: "/nginx-hugo-theme" | |
preview_url_path: "/previews/nginx-hugo-theme" | |
docs_source_path: "public" | |
docs_build_path: "./exampleSite" | |
doc_type: "hugo" | |
environment: "preview" | |
force_hugo_theme_version: "" | |
auto_deploy_branch: "main" | |
auto_deploy_env: "prod" | |
secrets: | |
AZURE_CREDENTIALS: ${{secrets.AZURE_CREDENTIALS_DOCS}} | |
AZURE_KEY_VAULT: ${{secrets.AZURE_KEY_VAULT_DOCS}} |