Skip to content

feat: add che-tsumi github action #346

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 3 commits into from
May 19, 2021
Merged
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
34 changes: 34 additions & 0 deletions .github/workflows/che-tsumi.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: che-tsumi

on:
schedule:
- cron: '0 6 * * *'

jobs:
che-tsumi:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
with:
repository: vuejs-jp/che-tsumi-next
ref: main
- uses: actions/setup-node@v2
with:
node-version: '14'
- name: Install deps
run: yarn
- name: Run che-tsumi-next
env:
ACCESS_TOKEN: ${{ secrets.CHE_TSUMI_ACCESS_TOKEN }}
USER_NAME: ${{ secrets.CHE_TSUMI_USER_NAME }}
EMAIL: ${{ secrets.CHE_TSUMI_USER_EMAIL }}
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Secrets は設定しておいたのでマージ後にすぐ動かせます。

UPSTREAM_REPO: https://github.com/vuejs-jp/ja.vuejs.org.git
UPSTREAM_REPO_BRANCH: lang-ja
HEAD_REPO: https://github.com/vuejs/docs-next
HEAD_REPO_BRANCH: master
WORKFLOW_NAME: che-tsumi
TRACK_FROM: 81015036143874f539c3717f650c93e45892e06d
PATH_STARTS_WITH: src
run: yarn start