Skip to content

Commit 01b7bdd

Browse files
committed
Rename master to main
1 parent 6c303f5 commit 01b7bdd

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Deploy
22

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

77
jobs:
88
deploy:

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Run tests
33
on:
44
pull_request:
55
branches:
6-
- master
6+
- main
77

88
jobs:
99
test:

ssh-script-deploy.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@ cd ~/domains/bot.typeofweb.com/public_nodejs
1010
echo "👉 Pulling from the server…"
1111
git fetch origin
1212

13-
if git diff --quiet remotes/origin/master; then
13+
if git diff --quiet remotes/origin/main; then
1414
echo "👉 Up to date; nothing to do!"
1515
exit
1616
fi
1717

18-
git pull origin master
18+
git pull origin main
1919

2020
echo "👉 Installing deps…"
2121
npm ci

0 commit comments

Comments
 (0)