File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ name: Deploy specifications to GitHub pages
22
33on :
44 push :
5- branches : ["master "]
5+ branches : ["main "]
66permissions :
77 contents : read
88 pages : write
4343 # Need to trust directory in the docker container.
4444 chown -R $(id -u):$(id -g) $PWD
4545
46- # Publish pages for `master `
46+ # Publish pages for `main `
4747 GIT_REFS=()
48- GIT_REFS+=("master ")
48+ GIT_REFS+=("main ")
4949
5050 for ref in "${GIT_REFS[@]}"; do
5151 echo "Building git ref $ref"
5454
5555 pushd specifications/device-identity-provisioning
5656
57- if [[ "${ref}" == "master " ]]; then
57+ if [[ "${ref}" == "main " ]]; then
5858 # Label the current spec version.
5959 commit_hash=$(git rev-parse --short HEAD)
6060 sed -i -r "/^---$/,/^---$/s/(version: .*)/\1 (Git commit ${commit_hash})/g" spec.ocp
You can’t perform that action at this time.
0 commit comments