Skip to content

Commit

Permalink
chore: update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
skdamico committed Mar 8, 2024
1 parent 98f53df commit e0e5c71
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions .github/workflows/build.yml
@@ -1,6 +1,7 @@
name: action-build

on:
workflow_dispatch:
push:
branches:
- main
Expand All @@ -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:
Expand All @@ -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

0 comments on commit e0e5c71

Please sign in to comment.