Skip to content

Commit

Permalink
Merge pull request #3 from prefeitura-rio/staging
Browse files Browse the repository at this point in the history
Staging
  • Loading branch information
lucastavarex authored Oct 31, 2024
2 parents 51805f9 + f5ab885 commit e50902c
Show file tree
Hide file tree
Showing 52 changed files with 27,887 additions and 856 deletions.
1 change: 0 additions & 1 deletion .env.example

This file was deleted.

2 changes: 1 addition & 1 deletion cloudbuild-prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ steps:
args:
- "-c"
- |
echo "APP_URL=https://plataforma-clima.dados.rio" > .env.production
echo "APP_URL=https://plataforma-clima.dados.rio" > .env.production && echo "NEXT_PUBLIC_MAPBOX_API_KEY=pk.eyJ1IjoiZXNjcml0b3Jpb2RlZGFkb3MiLCJhIjoiY2t3bWdmcHpjMmJ2cTJucWJ4MGQ1Mm1kbiJ9.4hHJX-1pSevYoBbja7Pq4w" >> .env.production
# Build the container image
- name: "gcr.io/cloud-builders/docker"
args: ["build", "-t", "gcr.io/$PROJECT_ID/plataforma-clima:$COMMIT_SHA", "."]
Expand Down
2 changes: 1 addition & 1 deletion cloudbuild-staging.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ steps:
args:
- "-c"
- |
echo "APP_URL=https://staging.plataforma-clima.dados.rio" > .env.production
echo "APP_URL=https://staging.plataforma-clima.dados.rio" > .env.production && echo "NEXT_PUBLIC_MAPBOX_API_KEY=pk.eyJ1IjoiZXNjcml0b3Jpb2RlZGFkb3MiLCJhIjoiY2t3bWdmcHpjMmJ2cTJucWJ4MGQ1Mm1kbiJ9.4hHJX-1pSevYoBbja7Pq4w" >> .env.production
# Build the container image
- name: "gcr.io/cloud-builders/docker"
args: ["build", "-t", "gcr.io/$PROJECT_ID/plataforma-clima:$COMMIT_SHA", "."]
Expand Down
14 changes: 14 additions & 0 deletions next.config.mjs
Original file line number Diff line number Diff line change
@@ -1,6 +1,20 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
output: 'standalone',
experimental: {
},
images: {
domains: ['storage.googleapis.com'],
},
async redirects() {
return [
{
source: '/',
destination: '/satelite/CP/mapa',
permanent: true,
},
];
},
};

export default nextConfig;
22,008 changes: 22,008 additions & 0 deletions output.txt

Large diffs are not rendered by default.

Loading

0 comments on commit e50902c

Please sign in to comment.