diff --git a/.github/workflows/push-to-zenn.yaml b/.github/workflows/push-to-zenn.yaml new file mode 100644 index 0000000..35619ed --- /dev/null +++ b/.github/workflows/push-to-zenn.yaml @@ -0,0 +1,17 @@ +name: push to zenn +on: + push: + branches: [master] +jobs: + push: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@3 + - uses: cpina/github-action-push-to-another-repository@main + env: + API_TOKEN_GITHUB: ${{ secrets.GH_PAT }} + with: + source-directory: ja + destination-repository-name: zenn.dev + target-branch: main + target-directory: books/ghq-handbook diff --git a/articles/.gitkeep b/articles/.gitkeep deleted file mode 100644 index e69de29..0000000 diff --git a/books/ghq-handbook/01-introduction.md b/ja/01-introduction.md similarity index 100% rename from books/ghq-handbook/01-introduction.md rename to ja/01-introduction.md diff --git a/books/ghq-handbook/02-basic-usage.md b/ja/02-basic-usage.md similarity index 100% rename from books/ghq-handbook/02-basic-usage.md rename to ja/02-basic-usage.md diff --git a/books/ghq-handbook/03-command-root.md b/ja/03-command-root.md similarity index 100% rename from books/ghq-handbook/03-command-root.md rename to ja/03-command-root.md diff --git a/books/ghq-handbook/04-command-get.md b/ja/04-command-get.md similarity index 100% rename from books/ghq-handbook/04-command-get.md rename to ja/04-command-get.md diff --git a/books/ghq-handbook/05-command-list.md b/ja/05-command-list.md similarity index 100% rename from books/ghq-handbook/05-command-list.md rename to ja/05-command-list.md diff --git a/books/ghq-handbook/06-command-create.md b/ja/06-command-create.md similarity index 100% rename from books/ghq-handbook/06-command-create.md rename to ja/06-command-create.md diff --git a/books/ghq-handbook/07-bulk-ghq-get.md b/ja/07-bulk-ghq-get.md similarity index 100% rename from books/ghq-handbook/07-bulk-ghq-get.md rename to ja/07-bulk-ghq-get.md diff --git a/books/ghq-handbook/08-ghq-roadmap.md b/ja/08-ghq-roadmap.md similarity index 100% rename from books/ghq-handbook/08-ghq-roadmap.md rename to ja/08-ghq-roadmap.md diff --git a/books/ghq-handbook/config.yaml b/ja/config.yaml similarity index 100% rename from books/ghq-handbook/config.yaml rename to ja/config.yaml