diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 1a3b8eb..6020c1f 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,8 +1,8 @@ on: push: - branches: [ "deploy/prod" ] + branches: ['deploy/prod'] pull_request: - branches: [ "deploy/prod" ] + branches: ['deploy/prod'] name: 🚀 Deploy website on push jobs: @@ -10,18 +10,18 @@ jobs: name: 🎉 Deploy runs-on: ubuntu-latest steps: - - name: 🚚 Get latest code - uses: actions/checkout@v3 - - - name: 🔨 Build Project - run: | - npm ci - npm run build - - - name: 📂 Sync files - uses: SamKirkland/FTP-Deploy-Action@4.3.2 - with: - server: 305244.w44.wedos.net - username: w305244_BOT007 - password: ${{ secrets.FTP_PASSWORD }} - local-dir: ./dist/ + - name: 🚚 Get latest code + uses: actions/checkout@v3 + + - name: 🔨 Build Project + run: | + npm ci + npm run build + + - name: 📂 Sync files + uses: SamKirkland/FTP-Deploy-Action@4.3.2 + with: + server: 305244.w44.wedos.net + username: w305244_BOT007 + password: ${{ secrets.FTP_PASSWORD }} + local-dir: ./dist/ diff --git a/src/App.svelte b/src/App.svelte index f4b1975..1c37889 100644 --- a/src/App.svelte +++ b/src/App.svelte @@ -13,7 +13,7 @@ $: if (isReady && !$user) { if (!(location.pathname.startsWith('/login') || location.pathname.startsWith('/register'))) { - //navigate('/login') + navigate('/login') } } diff --git a/src/routes/game/Components/Layout.svelte b/src/routes/game/Components/Layout.svelte index 5e132d6..9b529af 100644 --- a/src/routes/game/Components/Layout.svelte +++ b/src/routes/game/Components/Layout.svelte @@ -1,9 +1,10 @@ - @@ -23,7 +24,7 @@