-
Notifications
You must be signed in to change notification settings - Fork 111
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
failed to send build notfication mail due to no `from` field #27
- Loading branch information
1 parent
3d5acb0
commit 2b76aa4
Showing
5 changed files
with
13 additions
and
2 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
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 |
---|---|---|
|
@@ -156,9 +156,13 @@ This will give you a test report and a lint report. You should see no errors exc | |
The script looks like the following: | ||
``` | ||
# uncomment the following to create repo and push code to github | ||
# gh repo create {{cookiecutter.project_slug}} --public | ||
# git remote add origin [email protected]:{{cookiecutter.github_username}}/{{cookiecutter.project_slug}}.git | ||
# git add . | ||
# pre-commit run --all-files | ||
# git add . | ||
# git commit -m "Initial commit by ppw" | ||
# gh repo create {{cookiecutter.project_slug}} --public -s . --push | ||
# git branch -M main | ||
|
||
# Uncomment the following to config github secret used by github workflow. | ||
# gh secret set PERSONAL_TOKEN --body $GH_TOKEN | ||
|
@@ -167,9 +171,12 @@ This will give you a test report and a lint report. You should see no errors exc | |
|
||
# uncomment the following if you need to setup email notification | ||
# gh secret set BUILD_NOTIFY_MAIL_SERVER --body $BUILD_NOTIFY_MAIL_SERVER | ||
# gh secret set BUILD_NOTIFY_MAIL_PORT --body $BUILD_NOTIFY_MAIL_PORT | ||
# gh secret set BUILD_NOTIFY_MAIL_FROM --body $BUILD_NOTIFY_MAIL_FROM | ||
# gh secret set BUILD_NOTIFY_MAIL_PASSWORD --body $BUILD_NOTIFY_MAIL_PASSWORD | ||
# gh secret set BUILD_NOTIFY_MAIL_RCPT --body $BUILD_NOTIFY_MAIL_RCPT | ||
|
||
# git push -u origin main | ||
``` | ||
before launch the script, you will need to apply github personal token and set environment variable GH_TOKEN beforehand. And you need install the tool [**gh**](https://cli.github.com/) too. | ||
|
||
|
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 @@ | ||
[tool] | ||
[tool.poetry] | ||
name = "ppw" | ||
version = "1.3.0" | ||
version = "1.3.1" | ||
description = "A Wizard to create a skeleton python project with up-to-date technology" | ||
license = "BSD-3-Clause" | ||
authors = ["Aaron Yang <[email protected]>"] | ||
|
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