Update mirror #85592
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Update mirror | |
on: | |
schedule: | |
- cron: "*/10 * * * *" | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
with: | |
ref: gh-pages | |
submodules: recursive | |
- name: Setup node | |
uses: actions/setup-node@v2 | |
with: | |
node-version: 18.x | |
cache: 'npm' | |
- run: npm install | |
- run: npm run update pages docs 20 2000 | |
- run: npm run fullbuild indices docs | |
- name: Publish | |
uses: ko-Kore/publish@master | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
TASK_NAME: 'Update mirror' | |
TIMEZONE: 'Asia/Seoul' | |
BRANCH_NAME: 'gh-pages' |