Skip to content

Commit 56ce1d1

Browse files
committed
wip
1 parent e2eacc1 commit 56ce1d1

File tree

4 files changed

+3
-65
lines changed

4 files changed

+3
-65
lines changed

.github/workflows/nuxtjs.yml

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -45,29 +45,6 @@ jobs:
4545
# cd ${{ github.workspace }}/scripts
4646
# python opgarchiveorg
4747

48-
- env:
49-
READPACKAGES: ${{ secrets.READPACKAGES }}
50-
APP_KEY: base64:4ytdRMnjO8RiDzdqUUKANyXdDInMl9+CFSLhsJeTjtM=
51-
DB_CONNECTION: mysql
52-
DB_HOST: db
53-
DB_PORT: 3306
54-
DB_DATABASE: opg
55-
DB_USERNAME: opg
56-
DB_PASSWORD: 123456
57-
TELEGRAM_TOKEN: ${{ secrets.BOT_TOKEN }}
58-
OWNER_TG_ID: "421353623"
59-
TELEGRAM_API: ${{ secrets.TELEGRAM_API }}
60-
TELEGRAM_HASH: ${{ secrets.TELEGRAM_HASH }}
61-
APP_DEBUG: true
62-
run: |
63-
sudo apt-get install -y docker
64-
cd ${{ github.workspace }}/backend-runner
65-
echo $READPACKAGES | docker login ghcr.io -u alihardan --password-stdin
66-
docker compose up -d
67-
sleep 30
68-
docker compose exec app bash -c "mkdir -p /opgactions/opg-backups && git clone https://a:${{ secrets.BACKUP_TOKEN }}@github.com/oldpersiangames/opg-backups /opgactions/opg-backups && rm -rf /app/storage/app/public && ln -s /opgactions/opg-backups/public /app/storage/app/public"
69-
docker compose exec app bash -c "mysql -h db -u opg -p123456 opg < /opgactions/opg-backups/opgbackend.sql"
70-
7148
- name: Setup Node
7249
uses: actions/setup-node@v3
7350
with:

backend-runner/compose.yaml

Lines changed: 0 additions & 38 deletions
This file was deleted.

composables/useAPI.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export function useAPI<T>(
99
) {
1010
return useFetch(url, {
1111
...options,
12-
// baseURL: 'https://backend.oldpersiangames.org',
13-
baseURL: 'http://localhost:8000',
12+
baseURL: 'https://backend.oldpersiangames.org',
13+
// baseURL: 'http://localhost:8000',
1414
})
1515
}

pages/lost-games.vue

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@ useSeoMeta({
88
description: "لیست بازی های فارسی گمشده",
99
});
1010
const storageUrl =
11-
(process.dev ? "http://localhost:8000" : "http://localhost:8000") +
12-
// : "https://backend.oldpersiangames.org"
11+
(process.dev ? "http://localhost:8000" : "https://backend.oldpersiangames.org") +
1312
1413
"/storage";
1514
</script>

0 commit comments

Comments
 (0)