Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change naming of public Branch #2834

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions packages/docs/docs/guide/deploy.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,10 @@ git add -A
git commit -m 'deploy'

# if you are deploying to https://<USERNAME>.github.io
# git push -f [email protected]:<USERNAME>/<USERNAME>.github.io.git master
# git push -f [email protected]:<USERNAME>/<USERNAME>.github.io.git main

# if you are deploying to https://<USERNAME>.github.io/<REPO>
# git push -f [email protected]:<USERNAME>/<REPO>.git master:gh-pages
# git push -f [email protected]:<USERNAME>/<REPO>.git main:gh-pages

cd -
```
Expand Down Expand Up @@ -85,7 +85,7 @@ deploy:
github_token: $GITHUB_TOKEN # A token generated on GitHub allowing Travis to push code on you repository. Set in the Travis settings page of your repository, as a secure variable
keep_history: true
on:
branch: master
branch: main
```

### GitLab Pages and GitLab CI
Expand Down Expand Up @@ -114,7 +114,7 @@ pages:
paths:
- public
only:
- master
- main
```


Expand Down Expand Up @@ -206,7 +206,7 @@ heroku buildpacks:set https://github.com/heroku/heroku-buildpack-static.git

``` bash
# publish site
git push heroku master
git push heroku main

# opens a browser to view the Dashboard version of Heroku CI
heroku open
Expand Down