diff --git a/.github/workflows/sync-generated.yml b/.github/workflows/sync-generated.yml deleted file mode 100644 index cc900511a..000000000 --- a/.github/workflows/sync-generated.yml +++ /dev/null @@ -1,43 +0,0 @@ -name: Sync generated from Kuma -on: - workflow_dispatch: {} - schedule: - - cron: "0 0 * * *" -jobs: - sync: - runs-on: ubuntu-latest - steps: - - name: Generate GitHub app token - id: github-app-token - uses: tibdex/github-app-token@f717b5ecd4534d3c4df4ce9b5c1c2214f0f7cd06 # v1.6.0 - with: - app_id: ${{ secrets.APP_ID }} - private_key: ${{ secrets.APP_PRIVATE_KEY }} - - name: Clone Kuma - uses: actions/checkout@v2 - with: - repository: kumahq/kuma - path: kuma - fetch-depth: '0' # Checkout all branches - - name: Clone docs - uses: actions/checkout@v2 - with: - path: kuma-website - - name: Sync generated - working-directory: kuma-website - run: | - ./sync_generated.sh - - name: Create Pull Request - uses: peter-evans/create-pull-request@v3 - with: - token: ${{ steps.github-app-token.outputs.token }} - path: kuma-website - commit-message: "chore(ci): auto update auto generated docs" - committer: kumahq[bot] <110050114+kumahq[bot]@users.noreply.github.com> - author: kumahq[bot] <110050114+kumahq[bot]@users.noreply.github.com> - signoff: true - branch: chore/auto-upgrade-kuma - delete-branch: true - title: "chore(ci): auto update auto generated docs" - body: "Auto upgrade docs using docs auto-generated in Kuma" - draft: false