Skip to content

Commit

Permalink
Remplacement URL staging datapass (#1254)
Browse files Browse the repository at this point in the history
  • Loading branch information
SchweisguthN authored Sep 22, 2023
1 parent bd6c2fe commit 20371b8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .env.sample
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
SITE_URL=https://localhost:3000
NEXT_PUBLIC_DATAPASS_URL=https://datapass-staging.api.gouv.fr
NEXT_PUBLIC_DATAPASS_URL=https://staging.datapass.api.gouv.fr
PIWIK_URL=
PIWIK_SITE_ID=
NODE_ENV=development
2 changes: 1 addition & 1 deletion .github/workflows/pre-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
- run: npm run lint

no-datapass-staging:
name: 'No link to datapass-staging'
name: 'No link to staging.datapass'
runs-on: ubuntu-latest

steps:
Expand Down
2 changes: 1 addition & 1 deletion node-scripts/checkNoDatapassStaging.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const { exec } = require('child_process');

exec("grep -rnw './_data/' -e 'datapass-staging'", (err, stdout, stderr) => {
exec("grep -rnw './_data/' -e 'staging.datapass'", (err, stdout, stderr) => {
if (stdout) {
console.log(stdout);
process.exit(1);
Expand Down

0 comments on commit 20371b8

Please sign in to comment.