diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index bdb55a0..533430a 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,10 +1,12 @@ name: Build artifacts and push to gh-pages on: - #pull_request_target: - # types: [closed] - push: + pull_request_target: + types: [closed] branches: - develop + # push: + # branches: + # - develop workflow_dispatch: jobs: @@ -28,7 +30,7 @@ jobs: uses: s0/git-publish-subdir-action@develop env: REPO: self - BRANCH: toto # The branch name where you want to push the assets + BRANCH: gh-pages # The branch name where you want to push the assets FOLDER: dist # The directory where your assets are generated GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # GitHub will automatically add this - you don't need to bother getting a token MESSAGE: "Build: ({sha}) {msg}" # The commit message