Browse Source

Fix support building a specific SHA

See gh-44204
docs-build
Phillip Webb 2 months ago
parent
commit
afbf1abd8b
  1. 2
      .github/workflows/deploy-docs.yml

2
.github/workflows/deploy-docs.yml

@ -27,7 +27,7 @@ jobs: @@ -27,7 +27,7 @@ jobs:
fetch-depth: 0
- name: Rest Build Reference to SHA
if: ${{ github.event.inputs.build-refname != '' && github.event.inputs.build-sha != '' }}
run: git update-ref refs/remotes/origin/${{ github.event.inputs.build-refname }} {{ github.event.inputs.build-sha }}
run: git update-ref refs/remotes/origin/${{ github.event.inputs.build-refname }} ${{ github.event.inputs.build-sha }}
- name: Fetch Main Branch
run: git fetch origin ${{ github.event.repository.default_branch }}:main
- name: Set Up Node

Loading…
Cancel
Save