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
|
platform: linux/amd64
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
packages: write
|
|
||||||
id-token: write
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Prepare
|
- name: Prepare
|
||||||
|
|
@ -97,6 +95,12 @@ jobs:
|
||||||
name: Production
|
name: Production
|
||||||
needs:
|
needs:
|
||||||
- build
|
- build
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
packages: write
|
||||||
|
id-token: write
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Prepare
|
- name: Prepare
|
||||||
run: |
|
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,
|
failOnError: true,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
devServer: {
|
|
||||||
port: 5173,
|
|
||||||
},
|
|
||||||
schemaOrg: {
|
schemaOrg: {
|
||||||
enabled: false,
|
enabled: false,
|
||||||
},
|
},
|
||||||
|
|
@ -38,11 +35,6 @@ export default defineNuxtConfig({
|
||||||
define: {
|
define: {
|
||||||
__VERSION__: JSON.stringify("0.4"),
|
__VERSION__: JSON.stringify("0.4"),
|
||||||
},
|
},
|
||||||
server: {
|
|
||||||
hmr: {
|
|
||||||
clientPort: 5173,
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
runtimeConfig: {
|
runtimeConfig: {
|
||||||
public: {
|
public: {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue