Skip to content

Commit

Permalink
PRs also aim to build the widget catalog
Browse files Browse the repository at this point in the history
  • Loading branch information
markotoplak committed Dec 4, 2023
1 parent 1612b67 commit ae3245b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@ name: Node.js CI
on:
push:
branches: ["main"]
pull_request:
branches:
- main

# Manually trigger workflow
workflow_dispatch:

jobs:
build:
Expand Down Expand Up @@ -41,6 +47,7 @@ jobs:
run: yarn run build && yarn run export && touch ./out/.nojekyll

- name: Deploy 🚀
if: github.ref == 'refs/heads/main'
uses: JamesIves/[email protected]
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit ae3245b

Please sign in to comment.