fix: rename master branch to main (#521)
This commit is contained in:
2
.github/workflows/pr.yml
vendored
2
.github/workflows/pr.yml
vendored
@@ -4,7 +4,7 @@ on:
|
|||||||
pull_request:
|
pull_request:
|
||||||
branches:
|
branches:
|
||||||
- develop
|
- develop
|
||||||
- master
|
- main
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
tsc:
|
tsc:
|
||||||
|
|||||||
2
.github/workflows/prod.yml
vendored
2
.github/workflows/prod.yml
vendored
@@ -2,7 +2,7 @@ name: Prod
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [ master ]
|
branches: [ main ]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ Standard Notes is a simple and private notes app available on most platforms, in
|
|||||||
<div align="center">
|
<div align="center">
|
||||||
|
|
||||||
[](https://github.com/standardnotes/desktop/releases)
|
[](https://github.com/standardnotes/desktop/releases)
|
||||||
[](https://github.com/standardnotes/web/blob/master/LICENSE)
|
[](https://github.com/standardnotes/web/blob/main/LICENSE)
|
||||||
[](https://standardnotes.org/slack)
|
[](https://standardnotes.org/slack)
|
||||||
[](https://twitter.com/standardnotes)
|
[](https://twitter.com/standardnotes)
|
||||||
|
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ set :application, 'standard-notes'
|
|||||||
set :repo_url, CAP_CONFIG["default"]["repo_url"]
|
set :repo_url, CAP_CONFIG["default"]["repo_url"]
|
||||||
|
|
||||||
# Default branch is :master
|
# Default branch is :master
|
||||||
# ask :branch, `git rev-parse --abbrev-ref HEAD`.chomp
|
set :branch, `git rev-parse --abbrev-ref main`.chomp
|
||||||
|
|
||||||
# Default deploy_to directory is /var/www/my_app_name
|
# Default deploy_to directory is /var/www/my_app_name
|
||||||
# set :deploy_to, '/var/www/my_app_name'
|
# set :deploy_to, '/var/www/my_app_name'
|
||||||
|
|||||||
Reference in New Issue
Block a user