We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bae7a7f commit abaffacCopy full SHA for abaffac
1 file changed
.github/workflows/deploy_pages.yml
@@ -2,7 +2,7 @@ name: Deploy specifications to GitHub pages
2
3
on:
4
push:
5
- branches: ["master"]
+ branches: ["main"]
6
permissions:
7
contents: read
8
pages: write
@@ -43,9 +43,9 @@ jobs:
43
# Need to trust directory in the docker container.
44
chown -R $(id -u):$(id -g) $PWD
45
46
- # Publish pages for `master`
+ # Publish pages for `main`
47
GIT_REFS=()
48
- GIT_REFS+=("master")
+ GIT_REFS+=("main")
49
50
for ref in "${GIT_REFS[@]}"; do
51
echo "Building git ref $ref"
@@ -54,7 +54,7 @@ jobs:
54
55
pushd specifications/device-identity-provisioning
56
57
- if [[ "${ref}" == "master" ]]; then
+ if [[ "${ref}" == "main" ]]; then
58
# Label the current spec version.
59
commit_hash=$(git rev-parse --short HEAD)
60
sed -i -r "/^---$/,/^---$/s/(version: .*)/\1 (Git commit ${commit_hash})/g" spec.ocp
0 commit comments