diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9907254..822be51 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -79,6 +79,9 @@ jobs: runs-on: ubuntu-latest needs: build if: ${{ github.ref_name == github.event.repository.default_branch || github.event_name == 'release' }} + permissions: + contents: write + actions: write steps: - name: Checkout @@ -136,4 +139,7 @@ jobs: git diff --quiet && git diff --staged --quiet || git commit -m "Update - /" - name: Push - run: git push origin gh-pages \ No newline at end of file + run: git push origin gh-pages + + - name: Trigger - Deploy + run: gh workflow run deploy-pages --ref gh-pages \ No newline at end of file