Fixing domain name

This commit is contained in:
David Négrier 2020-05-13 16:17:58 +02:00
parent 7d67b62cf9
commit dd5a0c9933
3 changed files with 3 additions and 2 deletions

View File

@ -88,6 +88,7 @@ jobs:
- 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

View File

@ -2,7 +2,7 @@
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": {

View File

@ -25,4 +25,4 @@ let game = new Phaser.Game(config);
window.addEventListener('resize', function (event) {
game.scale.resize(window.innerWidth / RESOLUTION, window.innerHeight / RESOLUTION);
});
});