From e0e5c71d7720e9abb8323d1800b016fab0a32267 Mon Sep 17 00:00:00 2001 From: Stefano D'Amico Date: Thu, 7 Mar 2024 22:02:19 -0800 Subject: [PATCH] chore: update workflow --- .github/workflows/build.yml | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 10a4355..6a46a8d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,6 +1,7 @@ name: action-build on: + workflow_dispatch: push: branches: - main @@ -17,7 +18,7 @@ jobs: - uses: actions/checkout@v4 with: fetch-depth: 0 - token: ${{ secrets.GH_GOODBOT_TOKEN }} + token: ${{ secrets.GITHUB_TOKEN }} ref: ${{ github.ref }} - uses: actions/setup-node@v4 with: @@ -26,15 +27,5 @@ jobs: - name: Install Packages run: yarn install - run: yarn build - # - run: | - # git config user.name 'goodtimegoodbot' - # git config user.email 'goodbot@goodtime.io' - # git add dist - # git commit -m "chore: update dist" - # git push - name: Release - env: - FONTAWESOME_NPM_TOKEN: ${{ secrets.FONTAWESOME_NPM_TOKEN }} - GOODTIME_NPM_TOKEN: ${{ secrets.GOODTIME_NPM_TOKEN }} - GITHUB_TOKEN: ${{ secrets.GH_GOODBOT_TOKEN }} run: yarn semantic-release