Skip to content

Commit

Permalink
ci: release from main branch 👷‍♂️
Browse files Browse the repository at this point in the history
  • Loading branch information
mrchief committed Mar 7, 2022
1 parent 7c83bd4 commit 4e83139
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
name: Release

on:
push:
branches: [master]
workflow_dispatch:
branches:
- main

jobs:
build-release:
runs-on: ubuntu-latest
environment: prod

steps:
- uses: actions/checkout@v2
Expand Down
6 changes: 6 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -193,5 +193,11 @@
"pre-commit": "lint-staged",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"release": {
"comment": "This is for semantic-release configuration",
"branches": [
"main"
]
}
}

0 comments on commit 4e83139

Please sign in to comment.