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
2
2
3
3
on :
4
4
push :
5
- branches : ["master "]
5
+ branches : ["main "]
6
6
permissions :
7
7
contents : read
8
8
pages : write
43
43
# Need to trust directory in the docker container.
44
44
chown -R $(id -u):$(id -g) $PWD
45
45
46
- # Publish pages for `master `
46
+ # Publish pages for `main `
47
47
GIT_REFS=()
48
- GIT_REFS+=("master ")
48
+ GIT_REFS+=("main ")
49
49
50
50
for ref in "${GIT_REFS[@]}"; do
51
51
echo "Building git ref $ref"
54
54
55
55
pushd specifications/device-identity-provisioning
56
56
57
- if [[ "${ref}" == "master " ]]; then
57
+ if [[ "${ref}" == "main " ]]; then
58
58
# Label the current spec version.
59
59
commit_hash=$(git rev-parse --short HEAD)
60
60
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