change to parametrized git user
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@ -7,10 +7,11 @@ steps:
|
|||||||
image: node:current
|
image: node:current
|
||||||
environment:
|
environment:
|
||||||
REPOSITORY: fedilearns-site
|
REPOSITORY: fedilearns-site
|
||||||
|
GIT_USER: inherentlee
|
||||||
GIT_TOKEN:
|
GIT_TOKEN:
|
||||||
from_secret: GIT_TOKEN
|
from_secret: GIT_TOKEN
|
||||||
commands:
|
commands:
|
||||||
- git config credential.helper '!f() { echo username=inherentlee; echo "password=$GIT_TOKEN"; };f'
|
- git config credential.helper '!f() { echo username=$GIT_USER; echo "password=$GIT_TOKEN"; };f'
|
||||||
- git submodule update --remote --init --merge
|
- git submodule update --remote --init --merge
|
||||||
- npm install
|
- npm install
|
||||||
- npm run build
|
- npm run build
|
||||||
|
|||||||
Reference in New Issue
Block a user