Skip to content

Commit 529ee6a

Browse files
committed
Set umask in build environment
1 parent bd25361 commit 529ee6a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.gitlab-ci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,10 @@ syntax_diff:lint:
7676
#
7777
# needs: ["syntax:lint"]
7878

79+
# Define commands that run before each job's script
80+
before_script:
81+
- umask 002 # set permissions to default directory permissions of 775 and default file permissions are 664,
82+
7983
build:package:
8084
stage: build
8185
image: edbizarro/gitlab-ci-pipeline-php:7.2

0 commit comments

Comments
 (0)