mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Updated GitHub publishing guide (#2080)
* Update publishing-your-site.md * Update publishing-your-site.md remove admonition
This commit is contained in:
parent
bd7fba4f10
commit
b72314d7da
@ -31,6 +31,7 @@ contents:
|
|||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- master
|
- master
|
||||||
|
- main
|
||||||
jobs:
|
jobs:
|
||||||
deploy:
|
deploy:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@ -51,6 +52,7 @@ contents:
|
|||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- master
|
- master
|
||||||
|
- main
|
||||||
jobs:
|
jobs:
|
||||||
deploy:
|
deploy:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@ -66,9 +68,9 @@ contents:
|
|||||||
GH_TOKEN: ${{ secrets.GH_TOKEN }}
|
GH_TOKEN: ${{ secrets.GH_TOKEN }}
|
||||||
```
|
```
|
||||||
|
|
||||||
Now, when a new commit is pushed to `master`, the static site is automatically
|
Now, when a new commit is pushed to either the `master` or `main` branches,
|
||||||
built and deployed. Commit and push the file to your repository to see the
|
the static site is automatically built and deployed. Commit and push the file
|
||||||
workflow in action.
|
to your repository to see the workflow in action.
|
||||||
|
|
||||||
Your documentation should shortly appear at `<username>.github.io/<repository>`.
|
Your documentation should shortly appear at `<username>.github.io/<repository>`.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user