반응형
Troubleshooting environment variables not being available
Problem: Surge is not deploying.
This solution is relevant if you are getting this message on the console output.
The most likely cause for this is the environment variables not being available inside this branch.
You can make sure this is the cause by using the echo command in your script.
- test job:
- script:
- - echo $SURGE_LOGIN
Possible solutions
1. Make sure that you have used the correct key when defining the variables.
- SURGE_LOGIN
- SURGE_TOKEN
2. Make sure the variables are NOT protected.
I hope this helps. Let me know if you have any other questions related to this.
반응형
'[AWS] > GITLAB' 카테고리의 다른 글
40장. before_script 및 after_script 구성 (0) | 2022.02.21 |
---|---|
39장. Destroying environments (Clean-up after the Merge Request) (0) | 2022.02.21 |
37장. Dynamic environments (0) | 2022.02.20 |
36장. 병합 요청 - 첫 번째 병합 요청 (0) | 2022.02.18 |
35장. Merge requests - Configuring Gitlab (0) | 2022.02.18 |
댓글