Updated GitHub publishing guide (#2080)

* Update publishing-your-site.md

* Update publishing-your-site.md

remove admonition
This commit is contained in:
Steve Martinelli 2020-11-30 11:39:28 -05:00 committed by GitHub
parent bd7fba4f10
commit b72314d7da
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -31,6 +31,7 @@ contents:
push:
branches:
- master
- main
jobs:
deploy:
runs-on: ubuntu-latest
@ -51,6 +52,7 @@ contents:
push:
branches:
- master
- main
jobs:
deploy:
runs-on: ubuntu-latest
@ -66,9 +68,9 @@ contents:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
```
Now, when a new commit is pushed to `master`, the static site is automatically
built and deployed. Commit and push the file to your repository to see the
workflow in action.
Now, when a new commit is pushed to either the `master` or `main` branches,
the static site is automatically built and deployed. Commit and push the file
to your repository to see the workflow in action.
Your documentation should shortly appear at `<username>.github.io/<repository>`.