From ba52712fed25275c0851768f62cdf558dddc423a Mon Sep 17 00:00:00 2001 From: Angela Yu <5506675+wangela@users.noreply.github.com> Date: Mon, 6 Nov 2023 17:56:49 -0800 Subject: [PATCH] chore: update docs.yml --- .github/workflows/docs.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index d25cd0c..4e9437c 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -17,10 +17,10 @@ name: Update documentation on: push: - tags: - - '*' + branches: [ main ] repository_dispatch: types: [gh-pages] + workflow_dispatch: jobs: gh-page-sync: @@ -29,7 +29,7 @@ jobs: steps: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - name: Checkout android-places-ktx - uses: actions/checkout@v2 + uses: actions/checkout@v3 # Run dokka and create tar - name: Generate documentation @@ -45,7 +45,7 @@ jobs: # Commit changes and create a PR - name: PR Changes - uses: peter-evans/create-pull-request@v2 + uses: peter-evans/create-pull-request@v3 with: token: ${{ secrets.SYNCED_GITHUB_TOKEN_REPO }} commit-message: 'docs: Update docs'