Fix #332: Ensure 750 permissions on CI artifacts
This commit is contained in:
parent
002f3a9507
commit
cac543c9ba
|
@ -184,6 +184,7 @@ build_front:
|
||||||
# this is to ensure we don't have any errors in the output,
|
# this is to ensure we don't have any errors in the output,
|
||||||
# cf https://code.eliotberriot.com/funkwhale/funkwhale/issues/169
|
# cf https://code.eliotberriot.com/funkwhale/funkwhale/issues/169
|
||||||
- yarn run build | tee /dev/stderr | (! grep -i 'ERROR in')
|
- yarn run build | tee /dev/stderr | (! grep -i 'ERROR in')
|
||||||
|
- chmod -R 750 front/dist
|
||||||
cache:
|
cache:
|
||||||
key: "$CI_PROJECT_ID__front_dependencies"
|
key: "$CI_PROJECT_ID__front_dependencies"
|
||||||
paths:
|
paths:
|
||||||
|
@ -248,7 +249,9 @@ build_api:
|
||||||
name: "api_${CI_COMMIT_REF_NAME}"
|
name: "api_${CI_COMMIT_REF_NAME}"
|
||||||
paths:
|
paths:
|
||||||
- api
|
- api
|
||||||
script: echo Done!
|
script:
|
||||||
|
- chmod -R 750 api
|
||||||
|
- echo Done!
|
||||||
only:
|
only:
|
||||||
- tags@funkwhale/funkwhale
|
- tags@funkwhale/funkwhale
|
||||||
- master@funkwhale/funkwhale
|
- master@funkwhale/funkwhale
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
Ensure 750 permissions on CI artifacts (#332)
|
Loading…
Reference in New Issue