From: David NĂ©grier Date: Wed, 13 May 2020 14:17:58 +0000 (+0200) Subject: Fixing domain name X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=dd5a0c9933fa0030ed1c22a42b7bbe1426da6f8f;p=libreadventure.git Fixing domain name --- diff --git a/.github/workflows/build-and-deploy.yml b/.github/workflows/build-and-deploy.yml index 619bee0..9794c87 100644 --- a/.github/workflows/build-and-deploy.yml +++ b/.github/workflows/build-and-deploy.yml @@ -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 diff --git a/deeployer.libsonnet b/deeployer.libsonnet index 3ba149a..3ede250 100644 --- a/deeployer.libsonnet +++ b/deeployer.libsonnet @@ -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": { diff --git a/front/src/index.ts b/front/src/index.ts index 2116568..e6c8ce4 100644 --- a/front/src/index.ts +++ b/front/src/index.ts @@ -25,4 +25,4 @@ let game = new Phaser.Game(config); window.addEventListener('resize', function (event) { game.scale.resize(window.innerWidth / RESOLUTION, window.innerHeight / RESOLUTION); -}); \ No newline at end of file +});