From 41015bd9b0eec2b6f347bdb4f6ca849ec14019b9 Mon Sep 17 00:00:00 2001 From: Benji Grant Date: Tue, 20 Jun 2023 19:03:52 +1000 Subject: [PATCH] Only run deployment on main repo --- .github/workflows/deploy_api.yml | 1 + .github/workflows/deploy_frontend.yml | 1 + frontend/src/i18n/locales/en-GB/event.json | 1 + 3 files changed, 3 insertions(+) diff --git a/.github/workflows/deploy_api.yml b/.github/workflows/deploy_api.yml index d991a3e..979366a 100644 --- a/.github/workflows/deploy_api.yml +++ b/.github/workflows/deploy_api.yml @@ -12,6 +12,7 @@ jobs: build-and-push: name: Deploy to Fly.io runs-on: ubuntu-latest + if: github.repository == 'GRA0007/crab.fit' defaults: run: diff --git a/.github/workflows/deploy_frontend.yml b/.github/workflows/deploy_frontend.yml index 28b8624..9791cb5 100644 --- a/.github/workflows/deploy_frontend.yml +++ b/.github/workflows/deploy_frontend.yml @@ -16,6 +16,7 @@ jobs: deploy: name: Deploy to Vercel runs-on: ubuntu-latest + if: github.repository == 'GRA0007/crab.fit' defaults: run: diff --git a/frontend/src/i18n/locales/en-GB/event.json b/frontend/src/i18n/locales/en-GB/event.json index 1c76d6b..b6656ae 100644 --- a/frontend/src/i18n/locales/en-GB/event.json +++ b/frontend/src/i18n/locales/en-GB/event.json @@ -57,6 +57,7 @@ "select_all": "Select all", "select_none": "Select none", "select_invert": "Invert selection", + "google_cal": "Sync with Google Calendar", "outlook_cal": "Sync with Outlook Calendar", "integration": {