Skip to content
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
32 changes: 32 additions & 0 deletions .github/workflows/sync.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: todo

on:
schedule:
- cron: 0 0 * * *

jobs:
cleanup:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [12.x]

steps:
- uses: actions/checkout@v2
with:
ref: master
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
if: steps.cache.outputs.cache-hit != 'true'
with:
node-version: ${{ matrix.node-version }}
- name: Add upstream
run: |
git add remote upstream git@github.com:vuejs/docs-next.git
- name: Pull upstream changes
run: |
git add remote upstream git@github.com:vuejs/docs-next.git
- name: Sync it
run: |
git push origin master