Skip to content

Commit 6eebb1d

Browse files
authored
Update ci.yaml
1 parent 6aba5d2 commit 6eebb1d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/ci.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Gentoo Desktop OpenRC AMD64
22

33
on:
44
push:
5-
branches: [master]
5+
branches: [main]
66

77
concurrency:
88
group: ${{ github.workflow }}-${{ github.ref }}
@@ -28,10 +28,10 @@ jobs:
2828
# git config --global user.email
2929
git config --global --add safe.directory "$(realpath .)"
3030
git init
31-
git branch -m master
31+
git branch -m main
3232
git remote add origin https://github.com/metacraft-labs/metacraft-overlay
3333
git fetch --all
34-
git reset --hard origin/master
34+
git reset --hard origin/main
3535
- name: Update manifests
3636
run: |
3737
useradd -K MAIL_DIR=/dev/null -m builder
@@ -66,7 +66,7 @@ jobs:
6666
done
6767
chown -R builder $(pwd)
6868
sudo -E -u builder git remote set-url origin [email protected]:metacraft-labs/metacraft-overlay
69-
# sudo -E -u builder sh -c "(git add . && git commit -m 'Update manifest' && git push origin HEAD:master) || echo 'Nothing to commit'"
69+
# sudo -E -u builder sh -c "(git add . && git commit -m 'Update manifest' && git push origin HEAD:main) || echo 'Nothing to commit'"
7070
- name: Sync and add repo
7171
run: |
7272
eselect repository add metacraft-overlay git https://github.com/metacraft-labs/metacraft-overlay.git || exit

0 commit comments

Comments
 (0)