Skip to content

Commit 57e8981

Browse files
committed
Action: Remove unneeded code
1 parent 4eeb4ee commit 57e8981

File tree

1 file changed

+1
-30
lines changed

1 file changed

+1
-30
lines changed

.github/workflows/build-push.yml

Lines changed: 1 addition & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -27,33 +27,4 @@ jobs:
2727
auto_deploy_env: "prod"
2828
secrets:
2929
AZURE_CREDENTIALS: ${{secrets.AZURE_CREDENTIALS_DOCS}}
30-
AZURE_KEY_VAULT: ${{secrets.AZURE_KEY_VAULT_DOCS}}
31-
32-
# deploy-documentation-site:
33-
# runs-on: ubuntu-latest
34-
# steps:
35-
# - name: Trigger `Build and deploy` workflow in `documentation` repo
36-
# run: |
37-
# event_type="trigger-preview-build"
38-
# environment="preview"
39-
# theme_version="${{ github.head_ref || '' }}" # Will either be the branch name if triggered from pull request, or empty string (aka latest) if triggered from release
40-
41-
# curl -L \
42-
# -X POST \
43-
# -H "Accept: application/vnd.github+json" \
44-
# -H "Authorization: Bearer ${{ secrets.PERSONAL_ACCESS_TOKEN }}" \
45-
# -H "X-GitHub-Api-Version: 2022-11-28" \
46-
# "https://api.github.com/repos/${REPO_OWNER}/${REPO_NAME}/dispatches" \
47-
# -d "{\"event_type\": \"$event_type\", \"client_payload\": {\"environment\": \"$environment\", \"hugo_theme_override\": \"$theme_version\"}}"
48-
49-
# - name: Get the most recent workflow id
50-
# run: |
51-
# pipeline_id=$(curl -L \
52-
# -H "Accept: application/vnd.github+json" \
53-
# -H "Authorization: Bearer ${{ secrets.PERSONAL_ACCESS_TOKEN }}" \
54-
# -H "X-GitHub-Api-Version: 2022-11-28" \
55-
# "https://api.github.com/repos/${REPO_OWNER}/${REPO_NAME}/actions/runs?event=repository_dispatch" | \
56-
# jq '.workflow_runs[0].id')
57-
58-
# Get the commented URL
59-
# Show a comment on the workflow for the URL
30+
AZURE_KEY_VAULT: ${{secrets.AZURE_KEY_VAULT_DOCS}}

0 commit comments

Comments
 (0)