-
-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: rename master to main (update workflows and doc)
- Loading branch information
1 parent
07a5ff7
commit b9e1107
Showing
8 changed files
with
12 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ name: Container Image Build CI | |
on: | ||
push: | ||
branches: | ||
- master | ||
- main | ||
- deploy-* | ||
tags: | ||
- v*.*.* | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ name: Container Image Deployment CI | |
on: | ||
push: | ||
branches: | ||
- master | ||
- main | ||
- deploy-* | ||
tags: | ||
- v*.*.* | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
#---------------------------------------------- | ||
# Generate and upload documentation (only on push to master) | ||
# Generate and upload documentation (only on push to main) | ||
#---------------------------------------------- | ||
|
||
name: Generate documentation | ||
|
@@ -13,7 +13,7 @@ on: | |
- "mkdocs.yml" | ||
push: | ||
branches: | ||
- master | ||
- main | ||
|
||
jobs: | ||
publish-docs: | ||
|
@@ -60,12 +60,12 @@ jobs: | |
build -o /output/references/api/index.html api.yml && \ | ||
sudo chown $UID -R gh_pages | ||
# Deploy docs to gh_pages if we are pushing to master | ||
# Deploy docs to gh_pages if we are pushing to main | ||
# Example from https://github.com/marketplace/actions/deploy-to-github-pages | ||
- name: Deploy 🚀 | ||
# we only deploy on push to master | ||
# we only deploy on push to main | ||
if: | | ||
github.event_name == 'push' && github.event.ref == 'refs/heads/master' | ||
github.event_name == 'push' && github.event.ref == 'refs/heads/main' | ||
uses: JamesIves/[email protected] | ||
with: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
on: | ||
push: | ||
branches: | ||
- master | ||
- main | ||
name: release-please | ||
jobs: | ||
release-please: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters