Skip to content

Commit

Permalink
fix(build): 🐛 Give proper permissions to GitHub Actions build
Browse files Browse the repository at this point in the history
Prevents the build from failing to push to package registry
  • Loading branch information
CPlusPatch committed Apr 15, 2024
1 parent f698970 commit 51a7433
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 10 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,6 @@ jobs:
platform: linux/amd64
permissions:
contents: read
packages: write
id-token: write

steps:
- name: Prepare
Expand Down Expand Up @@ -97,6 +95,12 @@ jobs:
name: Production
needs:
- build

permissions:
contents: read
packages: write
id-token: write

steps:
- name: Prepare
run: |
Expand Down
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"conventionalCommits.scopes": ["build"]
}
8 changes: 0 additions & 8 deletions nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,6 @@ export default defineNuxtConfig({
failOnError: true,
},
},
devServer: {
port: 5173,
},
schemaOrg: {
enabled: false,
},
Expand All @@ -38,11 +35,6 @@ export default defineNuxtConfig({
define: {
__VERSION__: JSON.stringify("0.4"),
},
server: {
hmr: {
clientPort: 5173,
},
},
},
runtimeConfig: {
public: {
Expand Down

0 comments on commit 51a7433

Please sign in to comment.