mirror of
https://github.com/versia-pub/frontend.git
synced 2025-12-06 08:28:20 +01:00
fix(build): 🐛 Give proper permissions to GitHub Actions build
Prevents the build from failing to push to package registry
This commit is contained in:
parent
f6989707f4
commit
51a74331c7
8
.github/workflows/docker-publish.yml
vendored
8
.github/workflows/docker-publish.yml
vendored
|
|
@ -32,8 +32,6 @@ jobs:
|
|||
platform: linux/amd64
|
||||
permissions:
|
||||
contents: read
|
||||
packages: write
|
||||
id-token: write
|
||||
|
||||
steps:
|
||||
- name: Prepare
|
||||
|
|
@ -97,6 +95,12 @@ jobs:
|
|||
name: Production
|
||||
needs:
|
||||
- build
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
packages: write
|
||||
id-token: write
|
||||
|
||||
steps:
|
||||
- name: Prepare
|
||||
run: |
|
||||
|
|
|
|||
3
.vscode/settings.json
vendored
Normal file
3
.vscode/settings.json
vendored
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"conventionalCommits.scopes": ["build"]
|
||||
}
|
||||
|
|
@ -25,9 +25,6 @@ export default defineNuxtConfig({
|
|||
failOnError: true,
|
||||
},
|
||||
},
|
||||
devServer: {
|
||||
port: 5173,
|
||||
},
|
||||
schemaOrg: {
|
||||
enabled: false,
|
||||
},
|
||||
|
|
@ -38,11 +35,6 @@ export default defineNuxtConfig({
|
|||
define: {
|
||||
__VERSION__: JSON.stringify("0.4"),
|
||||
},
|
||||
server: {
|
||||
hmr: {
|
||||
clientPort: 5173,
|
||||
},
|
||||
},
|
||||
},
|
||||
runtimeConfig: {
|
||||
public: {
|
||||
|
|
|
|||
Loading…
Reference in a new issue