Skip to content

Commit

Permalink
chore: replaced production branch with main
Browse files Browse the repository at this point in the history
  • Loading branch information
George-Madeley committed Sep 29, 2024
1 parent a81c59c commit 872ea46
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Deploy to GitHub Pages
on:
push:
branches:
- production
- main

workflow_dispatch:

Expand Down Expand Up @@ -48,8 +48,7 @@ jobs:
path: ./build

- name: Semantic release
run: npm i -g semantic-release @semantic-release/changelog @semantic-release/git @semantic-release/github @semantic-release/commit-analyzer @semantic-release/release-notes-generator conventional-changelog-conventionalcommits
run: npx semantic-release --debug --dry-run
run: npx semantic-release

# Deployment job
deploy:
Expand Down
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,7 @@
"branches": [
"master",
"next",
"main",
"production"
"main"
]
},
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion release.config.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* @type {import('semantic-release').GlobalConfig}
*/
module.exports = {
branches: ["main", "next", "master", "production"],
branches: ["main", "next", "master"],
plugins: [
[
"@semantic-release/commit-analyzer",
Expand Down

0 comments on commit 872ea46

Please sign in to comment.