Skip to content

Commit

Permalink
chore(ci): edit workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
itsacoyote committed May 28, 2024
1 parent bd22bfe commit c87130c
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 24 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/deploy-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ on:

env:
NUXT_SITE_ENV: staging # used for NuxtSEO to disable things like indexing on staging
HUSKY: 0
CI: true

permissions:
checks: write
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/deploy-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ on:
push:
branches: [main]

env:
HUSKY: 0
CI: true

jobs:
build_and_deploy:
env:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/deploy-staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,11 @@ on:
push:
branches: [staging]
workflow_dispatch:

env:
NUXT_SITE_ENV: staging # used for NuxtSEO to disable things like indexing on staging
HUSKY: 0
CI: true

jobs:
build_and_deploy:
Expand Down
23 changes: 1 addition & 22 deletions .releaserc
Original file line number Diff line number Diff line change
Expand Up @@ -7,27 +7,6 @@
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
[
"@semantic-release/npm",
{
"npmPublish": false
}
],
[
"@semantic-release/changelog",
{
"changelogFile": "CHANGELOG.md"
}
],
"@semantic-release/github",
[
"@semantic-release/git",
{
"assets": [
"CHANGELOG.md",
"package.json"
]
}
]
"@semantic-release/github"
]
}
Binary file modified bun.lockb
Binary file not shown.
2 changes: 0 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,7 @@
"devDependencies": {
"@commitlint/cli": "^19.3.0",
"@commitlint/config-conventional": "^19.2.2",
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/commit-analyzer": "^12.0.0",
"@semantic-release/git": "^10.0.1",
"@semantic-release/github": "^10.0.5",
"@semantic-release/release-notes-generator": "^13.0.0",
"@vue/test-utils": "^2.4.5",
Expand Down

0 comments on commit c87130c

Please sign in to comment.