$WLE_CREDENTIALS is a variable containing email:password. We will configure it in the next
Find variables for Gitlab CI in the Gitlab web interface: Settings > CI/CD > Variables.
Click “Add Variable” and name it WLE_CREDENTIALS and set its value to email:password,
where email is the email of your Wonderland Engine account and password the matching
For public projects make sure to enable “Protect variable” to prevent unmerged merge requests
from being able to access the CI variable.
The most time-consuming task in the editor is compressing textures. This is significantly
faster, if the results are cached (in the cache/ directory). It is therefore useful to
either specify this folder for the CI cache, or check in the files into source control.
GitHub Workflows / GitHub Pages
Using any docker-enabled runner (e.g. the GitHub hosted runners) on GitHub.
Your workflow file (e.g. .github/workflows/github-pages.yml) should look like follows:
Project-deploy is the name of the artifact which contains the contents of the deploy/ folder.
Project.wlp is your project file.
$WLE_CREDENTIALS is a secret containing email:password. We will configure it in the next
Find secrets for GitHub Workflows in the GitHub web interface: Settings > Secrets > Actions.
Click “New repository secret” on the top right and name it WLE_CREDENTIALS and set its value to email:password,
where email is the email of your Wonderland Engine account and password the matching password.
Secrets are not passed to pullrequests from forks, which means your workflow may not run for pullrequests from outside collaborators.