Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add prod index env #549

Open
wants to merge 2 commits into
base: prod
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ jobs:
--build-arg NEXT_PUBLIC_HOTJAR_ID=${{ secrets.PROD_NEXT_PUBLIC_HOTJAR_ID }} \
--build-arg NEXT_PUBLIC_GFW_API_KEY=${{ secrets.NEXT_PUBLIC_GFW_API_KEY }} \
--build-arg OSANO_URL=${{ secrets.DEV_OSANO_URL }} \
--build-arg NEXT_PUBLIC_DEPLOYMENT_TYPE=production \
deployment/frontend
docker push $REGISTRY/$FRONTEND_REPO:$IMAGE_TAG
- name: Build and push Datapusher image to ECR
Expand Down
1 change: 1 addition & 0 deletions ckan-backend-dev/.env.example
Original file line number Diff line number Diff line change
Expand Up @@ -154,4 +154,5 @@ SMTP_PASSWORD="b07f"
SMTP_FROM="[email protected]"
OSANO_URL="https://cmp.osano.com/AzZuApUOBG9lEDOds/e8610315-1e7f-4f15-a759-e4124cab69a9/osano.js"
NEXT_PUBLIC_WRI_PRIVACY_POLICY_URL="https://www.wri.org/about/privacy-policy?sitename=WRI%20Data%20Explorer&osanoid=c2a89d08-4931-4ad0-99cb-8d3aa022aaec"
NEXT_PUBLIC_DEPLOYMENT_TYPE="production"

3 changes: 2 additions & 1 deletion ckan-backend-dev/.env.frontend.example
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,5 @@ SMTP_USER="SMTP_Injection"
SMTP_PASSWORD="b07f"
SMTP_FROM="[email protected]"
OSANO_URL="https://cmp.osano.com/AzZuApUOBG9lEDOds/e8610315-1e7f-4f15-a759-e4124cab69a9/osano.js"
NEXT_PUBLIC_WRI_PRIVACY_POLICY_URL="https://www.wri.org/about/privacy-policy?sitename=WRI%20Data%20Explorer&osanoid=c2a89d08-4931-4ad0-99cb-8d3aa022aaec"
NEXT_PUBLIC_WRI_PRIVACY_POLICY_URL="https://www.wri.org/about/privacy-policy?sitename=WRI%20Data%20Explorer&osanoid=c2a89d08-4931-4ad0-99cb-8d3aa022aaec"
NEXT_PUBLIC_DEPLOYMENT_TYPE="production"
1 change: 1 addition & 0 deletions deployment/frontend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ ARG NEXT_PUBLIC_DISABLE_HOTJAR
ARG NEXT_PUBLIC_HOTJAR_ID
ARG NEXT_PUBLIC_GFW_API_KEY
ARG OSANO_URL
ARG NEXT_PUBLIC_DEPLOYMENT_TYPE
WORKDIR /app
COPY --from=deps /app/node_modules ./node_modules
COPY . .
Expand Down
Loading