Skip to content

[WIP] Add update.yml #32

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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jan 12, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 42 additions & 0 deletions .github/workflows/update.yml
Original file line number Diff line number Diff line change
@@ -1 +1,43 @@
name: Sync po files

on:
schedule:
- cron: "0 9 * * *"

env:
# branch name of python-docs-ja repository
DOCS_BRANCH: "3.10"
# branch name of cpython repository
CPYTHON_BRANCH: "3.10"
# branch name of cpython-doc-catalog repository
CATALOG_BRANCH: "catalog-3.10"
# Transifex project name
TRANSIFEX_PROJECT: "python-newest"
# Directory where repositories are cloned
BASEDIR: "$(dirname ${TRAVIS_BUILD_DIR})"

jobs:
main:
name: Sync po/pot fiels
runs-on: ubuntu-latest
steps:
- name: Check out the repo
- uses: actions/checkout@v2

- name: Setup Python
- uses: actions/setup-python@v2.3.1
with:
python-version: "3.10"
architecture: "x64"

- name: Install packages
run: |
pip install sphinx sphinx-intl blurb trasifex-client

- name: Run scripts
run: |
bash ${TRAVIS_BUILD_DIR}/scripts/prepare-build_3.10
bash ${TRAVIS_BUILD_DIR}/scripts/upload-catalog
bash ${TRAVIS_BUILD_DIR}/scripts/renew-catalog-template


17 changes: 0 additions & 17 deletions scripts/determine-build-type

This file was deleted.

5 changes: 0 additions & 5 deletions scripts/pr-merge/main.sh

This file was deleted.

5 changes: 0 additions & 5 deletions scripts/pr/main.sh

This file was deleted.

6 changes: 0 additions & 6 deletions scripts/push/main.sh

This file was deleted.

31 changes: 0 additions & 31 deletions scripts/push/prepare-build_3.10

This file was deleted.

File renamed without changes.
File renamed without changes.