Fixing domain name
authorDavid Négrier <d.negrier@thecodingmachine.com>
Wed, 13 May 2020 14:17:58 +0000 (16:17 +0200)
committerDavid Négrier <d.negrier@thecodingmachine.com>
Wed, 13 May 2020 14:17:58 +0000 (16:17 +0200)
.github/workflows/build-and-deploy.yml
deeployer.libsonnet
front/src/index.ts

index 619bee06f197237ecfd4297d20d9dd12aef5b070..9794c87b011cf0b2220b4c2f96ded9b1f1273e1f 100644 (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
index 3ba149ae8c64670add53b80078d7f19ec6503443..3ede25090497d96e2a3da21697932e3ac774df51 100644 (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": {
index 2116568188913200bf54e334f474a352cef481d3..e6c8ce40eed1073ff66caeffc3520de0fefbb12c 100644 (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);
-});
\ No newline at end of file
+});