From 520f5fe3e6d191bfd48ee67d59a70e47dfdad2ad Mon Sep 17 00:00:00 2001 From: cocoatomo Date: Sun, 10 May 2020 02:22:17 +0900 Subject: [PATCH 1/5] [skip ci] PR build --- .github/workflows/pr_build.yml | 56 ++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 .github/workflows/pr_build.yml diff --git a/.github/workflows/pr_build.yml b/.github/workflows/pr_build.yml new file mode 100644 index 000000000..774c6cd58 --- /dev/null +++ b/.github/workflows/pr_build.yml @@ -0,0 +1,56 @@ +name: PR build for ver 3.8 + +on: + pull_request: + branches: [ "3.8" ] + types: + - opened # open PR + - synchronize # update the branch which pulled from + - reopened # re-open PR + +jobs: + pr_build: + runs-on: ubuntu-latest + + steps: + - name: Checkout cpython repository + uses: actions/checkout@v2 + with: + repository: python-doc-ja/cpython-doc-catalog + ref: catalog-3.8 + path: cpython + + + - name: Checkout PR branch + uses: actions/checkout@v2 + with: + ref: ${{ github.ref }} + path: cpython/locales/ja/LC_MESSAGES + + - name: debug + run: | + echo github.workspace + echo ${{ github.workspace }} + pwd + ls -l + ls -l ../* + + - name: Checkout GitHub Pages + uses: actions/checkout@v2 + with: + ref: gh-pages + path: build + + - name: Install dependencies + run: | + sudo apt-get update + sudo apt-get install -y --no-install-recommends python3-venv + python3 -m venv build_root/venv/ + build_root/venv/bin/python -m pip install -r requirements.txt + + - name: Publish PR build + run: | + pip freeze + pwd + ls -l ../* + echo ${{ github.workspace }} From 064473fdadd1675ab0c5d1ed74aee1c051e9a140 Mon Sep 17 00:00:00 2001 From: cocoatomo Date: Sun, 10 May 2020 21:26:45 +0900 Subject: [PATCH 2/5] [skip ci] Fix typo --- sphinx.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sphinx.po b/sphinx.po index 6f8c72d1b..53cb0d28d 100644 --- a/sphinx.po +++ b/sphinx.po @@ -284,7 +284,7 @@ msgstr "" #: ../../tools/templates/layout.html:8 msgid " Python documentation for the current stable release" -msgstr "現在の安定板リリースの Python ドキュメント" +msgstr "現在の安定版リリースの Python ドキュメント" #: ../../tools/templates/layout.html:19 msgid "Documentation " From 36a87bd04993be6ff3d57f9cdc0cc63271d623ae Mon Sep 17 00:00:00 2001 From: cocoatomo Date: Tue, 12 May 2020 20:27:13 +0900 Subject: [PATCH 3/5] [skip ci] test --- sphinx.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sphinx.po b/sphinx.po index 53cb0d28d..9df73995b 100644 --- a/sphinx.po +++ b/sphinx.po @@ -68,7 +68,7 @@ msgstr "チュートリアル" #: ../../tools/templates/indexcontent.html:16 msgid "start here" -msgstr "ここから始めましょう" +msgstr "[テスト]ここから始めましょう" #: ../../tools/templates/indexcontent.html:17 msgid "Library Reference" From cc64ad8ffcc4d4064b94a92154441d9965350ffe Mon Sep 17 00:00:00 2001 From: cocoatomo Date: Tue, 12 May 2020 20:41:15 +0900 Subject: [PATCH 4/5] [skip ci] Delete empty row --- .github/workflows/pr_build.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/pr_build.yml b/.github/workflows/pr_build.yml index 82167effc..2f67f3e50 100644 --- a/.github/workflows/pr_build.yml +++ b/.github/workflows/pr_build.yml @@ -25,7 +25,6 @@ jobs: uses: actions/checkout@v2 with: ref: ${{ github.ref }} - path: cpython/Doc/locales/ja/LC_MESSAGES - name: Checkout GitHub Pages From a262671c17526ed375287fb9121371d9790bea9b Mon Sep 17 00:00:00 2001 From: cocoatomo Date: Tue, 12 May 2020 20:43:38 +0900 Subject: [PATCH 5/5] [skip ci] test2 --- sphinx.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sphinx.po b/sphinx.po index 9df73995b..11d20d968 100644 --- a/sphinx.po +++ b/sphinx.po @@ -68,7 +68,7 @@ msgstr "チュートリアル" #: ../../tools/templates/indexcontent.html:16 msgid "start here" -msgstr "[テスト]ここから始めましょう" +msgstr "[テスト2]ここから始めましょう" #: ../../tools/templates/indexcontent.html:17 msgid "Library Reference"