Skip to content

Commit

Permalink
CI: fix release to actually trigger when we push to main
Browse files Browse the repository at this point in the history
  • Loading branch information
axe312ger committed Dec 19, 2023
1 parent 599e1ee commit c28760d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
name: Docs
on:
push:
branches:
- master
jobs:
release:
runs-on: ubuntu-latest
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Release
on:
push:
branches:
- master
- main
jobs:
release:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -31,7 +31,7 @@ jobs:
- name: Publishing canary releases to npm registry
if: steps.changesets.outputs.published != 'true'
run: |
git checkout master
git checkout main
yarn version:canary
yarn release:canary
env:
Expand Down

0 comments on commit c28760d

Please sign in to comment.