Skip to content

Commit 8dd767d

Browse files
committed
🚀 Deploy 2025
1 parent 2ae0a36 commit 8dd767d

File tree

5 files changed

+15
-11
lines changed

5 files changed

+15
-11
lines changed

.github/workflows/deploy-production.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@ name: deploy-production
33
on:
44
push:
55
branches:
6-
- master
6+
- main
77

88
jobs:
99
build:
1010
runs-on: ubuntu-latest
1111

1212
strategy:
1313
matrix:
14-
node-version: [14.x]
14+
node-version: [20.x]
1515

1616
steps:
1717
- uses: actions/checkout@v2
@@ -28,11 +28,12 @@ jobs:
2828

2929
deploy:
3030
needs: build
31-
runs-on: ubuntu-latest
31+
runs-on: ubuntu-22.04
3232
steps:
3333
- uses: actions/checkout@v2
34-
- uses: akhileshns/heroku-deploy@v3.12.12
34+
- run: curl https://cli-assets.heroku.com/install-ubuntu.sh | sh
35+
- uses: akhileshns/heroku-deploy@v3.13.15
3536
with:
3637
heroku_api_key: ${{secrets.HEROKU_API_KEY}}
37-
heroku_app_name: tcup-2024
38+
heroku_app_name: tcup-2025
3839
heroku_email: ${{secrets.HEROKU_EMAIL}}

src/components/Archive.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ export const Archive = () => {
88
<div>
99
<h1>{t('archive.title')}</h1>
1010
<ListGroup>
11+
<ListGroupItem tag="a" href="http://2024.tcup.cz">
12+
tcup 2024
13+
</ListGroupItem>
1114
<ListGroupItem tag="a" href="http://2023.tcup.cz">
1215
tcup 2023
1316
</ListGroupItem>

src/config/constants.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
export const API_ENDPOINT = process.env.REACT_APP_API_ENDPOINT || ''
22
export const TEST_MODE = process.env.REACT_APP_TEST_MODE === 'true'
3-
export const SOARING_SPOT_URL = 'https://www.soaringspot.com/en_gb/tcup2024/results'
3+
export const SOARING_SPOT_URL = 'https://www.soaringspot.com/en_gb/tcup2025/results'
44
export const SPINNER_TIMEOUT =
55
process.env.REACT_APP_SPINNER_TIMEOUT !== undefined ? Number(process.env.REACT_APP_SPINNER_TIMEOUT) : 500
66

77
export const APP_TITLE = process.env.REACT_APP_TITLE
88
export const APP_VERSION = process.env.REACT_APP_VERSION
9-
export const SIGNUP_DISABLED = false
9+
export const SIGNUP_DISABLED = true
1010
export const SIGNUP_DISABLED_TOKEN: string | undefined =
1111
'SkFKLx8zKyOPy3pQdVEIV!NWJAYRYJUm4KOtL!Ns?OcsG0nOm0wOGEVOGpn/tF6h'

src/translations/cs.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,8 @@
5959
"Změnit": "Změnit",
6060
"verze": "verze",
6161
"homepage.subheader.1": "Letošní tcup se bude konat",
62-
"homepage.subheader.2": "5. 7. – 13. 7. 2024 v Toužimi",
63-
"homepage.signup.disabled": "Registrace bude spuštěna 1. 3. 2024 ve 12:00",
62+
"homepage.subheader.2": "12. 7. – 20. 7. 2025 v Toužimi",
63+
"homepage.signup.disabled": "Registrace bude spuštěna 1. 3. 2025 ve 12:00",
6464
"homepage.signup.enabled": "Registrace byla spuštěna",
6565
"homepage.subheader.alert.1": "Dovolujeme si upozornit účastníky závodu, že provozní plocha letiště je",
6666
"homepage.subheader.alert.2": "monitorována kamerovým systémem a během dne i noci ostrahu zabezpečuje agentura Securitas.",

src/translations/en.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,8 @@
5959
"Změnit": "Update",
6060
"verze": "version",
6161
"homepage.subheader.1": "This year's tcup will be held",
62-
"homepage.subheader.2": "July 5 - July 13, 2024 in Toužim",
63-
"homepage.signup.disabled": "Signup will be enabled 1. 3. 2024 at 12:00",
62+
"homepage.subheader.2": "July 12 - July 20, 2025 in Toužim",
63+
"homepage.signup.disabled": "Signup will be enabled 1. 3. 2025 at 12:00",
6464
"homepage.subheader.alert.1": "Dovolujeme si upozornit účastníky závodu, že provozní plocha letiště je",
6565
"homepage.subheader.alert.2": "monitorována kamerovým systémem a během dne i noci ostrahu zabezpečuje agentura Securitas.",
6666
"homepage.subheader.alert.3": "V případě dotazu se obraťte na ředitele závodu.",

0 commit comments

Comments
 (0)