fix: rename master branch to main (#521)

This commit is contained in:
Baptiste Grob
2021-02-11 16:33:15 +01:00
committed by GitHub
parent a3067b7f32
commit 38707cc977
4 changed files with 4 additions and 4 deletions

View File

@@ -4,7 +4,7 @@ on:
pull_request:
branches:
- develop
- master
- main
jobs:
tsc:

View File

@@ -2,7 +2,7 @@ name: Prod
on:
push:
branches: [ master ]
branches: [ main ]
jobs:

View File

@@ -8,7 +8,7 @@ Standard Notes is a simple and private notes app available on most platforms, in
<div align="center">
[![latest release version](https://img.shields.io/github/v/release/standardnotes/desktop)](https://github.com/standardnotes/desktop/releases)
[![License](https://img.shields.io/github/license/standardnotes/web?color=blue)](https://github.com/standardnotes/web/blob/master/LICENSE)
[![License](https://img.shields.io/github/license/standardnotes/web?color=blue)](https://github.com/standardnotes/web/blob/main/LICENSE)
[![Slack](https://img.shields.io/badge/slack-standardnotes-CC2B5E.svg?style=flat&logo=slack)](https://standardnotes.org/slack)
[![Twitter Follow](https://img.shields.io/badge/follow-%40standardnotes-blue.svg?style=flat&logo=twitter)](https://twitter.com/standardnotes)

View File

@@ -4,7 +4,7 @@ set :application, 'standard-notes'
set :repo_url, CAP_CONFIG["default"]["repo_url"]
# 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
# set :deploy_to, '/var/www/my_app_name'