Closed pmeinhardt closed 4 years ago
This is not an issue. Forks should not being deployed :)
This is not an issue. Forks should not being deployed :)
Should the deploy job then just not run for forks?
I think Travis allows running jobs only on certain conditions:
repo
)or, as a fallback TRAVIS_REPO_SLUG
(https://docs.travis-ci.com/user/environment-variables./#default-environment-variables)
It looks a bit like the "deploy" job on Travis CI fails for PRs made from forks of this project.
The error seems to always be the same:
— https://travis-ci.com/github/schul-cloud/schulcloud-server/jobs/321310691#L208-L210
It appears the variables referenced in the
.travis.yml
anddeploy.sh
are not defined. These sections in the Travis CI documentation might be relevant?— https://docs.travis-ci.com/user/environment-variables#defining-encrypted-variables-in-travisyml
— https://docs.travis-ci.com/user/environment-variables#defining-variables-in-repository-settings
I am not sure how to best tackle this issue and what the "mode of working" is with regard to contributions from forks, but let me know if I can help troubleshoot. ✌️