diff --git a/.github/workflows/deploy-dev.yml b/.github/workflows/deploy-dev.yml index bdcafc9..18ab82e 100644 --- a/.github/workflows/deploy-dev.yml +++ b/.github/workflows/deploy-dev.yml @@ -28,5 +28,5 @@ jobs: enable_cache: true enable_notify_comment: true enable_notify_slack: true - slack_channel: website + slack_channel: public-darwinia-websites-apps slack_webhook: ${{ secrets.SLACK_INCOMING_WEBHOOK_URL }} diff --git a/.github/workflows/deploy-prd.yml b/.github/workflows/deploy-prd.yml index 43696d3..32f1b2f 100644 --- a/.github/workflows/deploy-prd.yml +++ b/.github/workflows/deploy-prd.yml @@ -30,6 +30,6 @@ jobs: prod_mode: true enable_cache: true enable_notify_slack: true - slack_channel: website + slack_channel: public-darwinia-websites-apps slack_webhook: ${{ secrets.SLACK_INCOMING_WEBHOOK_URL }} diff --git a/.github/workflows/deploy-stg.yml b/.github/workflows/deploy-stg.yml index cb43b6f..5cd4a2c 100644 --- a/.github/workflows/deploy-stg.yml +++ b/.github/workflows/deploy-stg.yml @@ -28,6 +28,6 @@ jobs: project_name: home-io enable_cache: true enable_notify_slack: true - slack_channel: website + slack_channel: public-darwinia-websites-apps slack_webhook: ${{ secrets.SLACK_INCOMING_WEBHOOK_URL }} diff --git a/src/components/PageFooter/PageFooter.js b/src/components/PageFooter/PageFooter.js index 6826f58..eeb5f26 100644 --- a/src/components/PageFooter/PageFooter.js +++ b/src/components/PageFooter/PageFooter.js @@ -9,7 +9,7 @@ class PageFooter extends Component { return (
-
{t('footer:record_1', {year: 2022})}
+
{t('footer:record_1', {year: new Date().getFullYear()})}
diff --git a/src/locales/en-us.json b/src/locales/en-us.json index 798e837..180ef6b 100644 --- a/src/locales/en-us.json +++ b/src/locales/en-us.json @@ -9,7 +9,7 @@ "sample_lang": "中文" }, "footer": { - "record_1": "©2018-{{year}} ITERING TECH PTE. LTD." + "record_1": "© {{year}} ITERING TECH PTE. LTD." }, "home_page": { diff --git a/src/locales/zh-cn.json b/src/locales/zh-cn.json index 7dbc955..5b1cbe1 100644 --- a/src/locales/zh-cn.json +++ b/src/locales/zh-cn.json @@ -9,7 +9,7 @@ "sample_lang": "English" }, "footer": { - "record_1": "©2018-{{year}} ITERING TECH PTE. LTD." + "record_1": "© {{year}} ITERING TECH PTE. LTD." }, "home_page": {