Skip to content

Open source alternative to Semrush and Ahrefs

Let deploys and previews run from every-app/private-open-seo (#1047)

Ben Senescud11c640b0f86
diff --git a/.github/workflows/deploy-production.yml b/.github/workflows/deploy-production.yml
index 46f08ea1..670c4469 100644
--- a/.github/workflows/deploy-production.yml
+++ b/.github/workflows/deploy-production.yml
@@ -17,7 +17,10 @@ jobs:
deploy:
# The public mirror must not deploy production. Only dispatches on main
# may use the production environment's credentials.
- if: github.repository == 'bensenescu/open-seo' && github.ref == 'refs/heads/main'
+ if: >-
+ (github.repository == 'bensenescu/open-seo' ||
+ github.repository == 'every-app/private-open-seo') &&
+ github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
timeout-minutes: 30
environment:
diff --git a/.github/workflows/deploy-website.yml b/.github/workflows/deploy-website.yml
index ddaf3cbf..76b8f8b9 100644
--- a/.github/workflows/deploy-website.yml
+++ b/.github/workflows/deploy-website.yml
@@ -22,7 +22,10 @@ jobs:
deploy:
# The public mirror must not deploy. Only main may use the production
# environment's credentials.
- if: github.repository == 'bensenescu/open-seo' && github.ref == 'refs/heads/main'
+ if: >-
+ (github.repository == 'bensenescu/open-seo' ||
+ github.repository == 'every-app/private-open-seo') &&
+ github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
timeout-minutes: 15
environment:
diff --git a/.github/workflows/pr-preview.yml b/.github/workflows/pr-preview.yml
index c4ce9a21..5073ac96 100644
--- a/.github/workflows/pr-preview.yml
+++ b/.github/workflows/pr-preview.yml
@@ -44,7 +44,8 @@ env:
jobs:
preview:
if: >-
- github.repository == 'bensenescu/open-seo' &&
+ (github.repository == 'bensenescu/open-seo' ||
+ github.repository == 'every-app/private-open-seo') &&
github.event.pull_request.head.repo.full_name == github.repository
runs-on: ubuntu-latest
timeout-minutes: 20