From 09a87f4cd29cab241db8447a70b0f662be20c9ae Mon Sep 17 00:00:00 2001
From: Paul Abel
Date: Fri, 6 Dec 2024 12:00:52 +0000
Subject: [PATCH] remove auto-publish step from workflow
---
.github/workflows/docs-build-push.yml | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/.github/workflows/docs-build-push.yml b/.github/workflows/docs-build-push.yml
index 9a0b05d7a3..215fe5141e 100644
--- a/.github/workflows/docs-build-push.yml
+++ b/.github/workflows/docs-build-push.yml
@@ -17,14 +17,17 @@ on:
required: false
default: ''
type: string
+ workflow_call:
+ inputs:
+ environment:
+ description: "Environment to deploy to"
+ required: true
+ type: string
pull_request:
branches:
- "*"
paths:
- "site/**"
- push:
- branches:
- - "release-3.7"
permissions:
contents: read
@@ -43,8 +46,6 @@ jobs:
doc_type: "hugo"
environment: ${{ inputs.environment }}
force_hugo_theme_version: ${{inputs.hugo_theme_override}}
- auto_deploy_branch: "release-3.7"
- auto_deploy_env: "prod"
secrets:
AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS_DOCS }}
AZURE_KEY_VAULT: ${{ secrets.AZURE_KEY_VAULT_DOCS }}