Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork214
feat: automation with github action#102
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
LGTM! Thank you@mattwang44
@@ -22,20 +22,20 @@ LC_MESSAGES := $(CPYTHON_CLONE)/Doc/locales/$(LANGUAGE)/LC_MESSAGES | |||
VENV := ~/.venvs/python-docs-i18n/ | |||
PYTHON := $(shell which python3) | |||
MODE := autobuild-dev-html | |||
BRANCH = $(shell git describe --contains --all HEAD) | |||
BRANCH:= $(or $(VERSION), $(shell git describe --contains --all HEAD)) |
mattwang44Oct 21, 2021 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Before this change, make commands would fail if run on branches other than3.7
,3.8
,3.9
etc. It allows users to run Makefile commands on branches with customized name by inserting an argument namedVERSION
.
VERSION=3.9 make
* Pulling latest source strings from CPython daily and make the change as a PR (only support branch 3.9). * Maintainer should resolve the fuzzy entries before merging it. * If the PR for this task is existed, changes will be forced-push to the existing branch (checkout peter-evans/create-pull-request@v3).* Launch build flow during a pull request is opened (supported base branch: 3.7, 3.8, & 3.9).* Deploy to github page if any change is pushed to main branch (current: 3.9).
Uh oh!
There was an error while loading.Please reload this page.
Purpose
This PR tend to automate several tasks with github action:
3.9
).peter-evans/create-pull-request@v3
).3.7
,3.8
, &3.9
).3.9
).Preview
These workflows are tested in my forked repo. One can check it out and learn how it works before merging this PR:
Caution
gh-pages
and folder as root)..nojekyll
is required to be committed togh-pages
branch after this PR is merged. It prevents github page from ignoring folders that start with underscores, which makes it failed to load css/js files (seethis reference andthis blog for details).