We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6c303f5 commit 01b7bddCopy full SHA for 01b7bdd
.github/workflows/deploy.yml
@@ -2,7 +2,7 @@ name: Deploy
2
3
on:
4
push:
5
- branches: [master]
+ branches: [main]
6
7
jobs:
8
deploy:
.github/workflows/test.yml
@@ -3,7 +3,7 @@ name: Run tests
pull_request:
branches:
- - master
+ - main
9
test:
ssh-script-deploy.sh
@@ -10,12 +10,12 @@ cd ~/domains/bot.typeofweb.com/public_nodejs
10
echo "👉 Pulling from the server…"
11
git fetch origin
12
13
-if git diff --quiet remotes/origin/master; then
+if git diff --quiet remotes/origin/main; then
14
echo "👉 Up to date; nothing to do!"
15
exit
16
fi
17
18
-git pull origin master
+git pull origin main
19
20
echo "👉 Installing deps…"
21
npm ci
0 commit comments