diff --git a/.github/workflows/sync.yaml b/.github/workflows/sync.yaml deleted file mode 100644 index 58c360b2..00000000 --- a/.github/workflows/sync.yaml +++ /dev/null @@ -1,33 +0,0 @@ -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 remote add upstream https://github.com/vuejs/docs-next.git - - name: Pull upstream changes - run: | - git config pull.rebase false - git pull upstream master - - name: Sync it - run: | - git push origin master