- name: Run Cypress tests
uses: cypress-io/github-action@v1
env:
+ # FIXME: for master, the URL is not the same!
CYPRESS_BASE_URL: https://${{ env.GITHUB_REF_SLUG }}.workadventure.test.thecodingmachine.com
with:
env: host=${{ env.GITHUB_REF_SLUG }}.workadventure.test.thecodingmachine.com,port=80
local env = std.extVar("env"),
local namespace = env.GITHUB_REF_SLUG,
local tag = namespace,
- local url = if namespace == "master" then "wordadventu.re" else namespace+".workadventure.test.thecodingmachine.com",
+ local url = if namespace == "master" then "workadventu.re" else namespace+".workadventure.test.thecodingmachine.com",
"$schema": "https://raw.githubusercontent.com/thecodingmachine/deeployer/master/deeployer.schema.json",
"containers": {
"back": {
window.addEventListener('resize', function (event) {
game.scale.resize(window.innerWidth / RESOLUTION, window.innerHeight / RESOLUTION);
-});
\ No newline at end of file
+});