Skip to content

Commit abaffac

Browse files
committed
Publish pages from 'main' instead of 'master'.
1 parent bae7a7f commit abaffac

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/deploy_pages.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Deploy specifications to GitHub pages
22

33
on:
44
push:
5-
branches: ["master"]
5+
branches: ["main"]
66
permissions:
77
contents: read
88
pages: write
@@ -43,9 +43,9 @@ jobs:
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"
@@ -54,7 +54,7 @@ jobs:
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

0 commit comments

Comments
 (0)