Skip to content
This repository has been archived by the owner on Jan 19, 2024. It is now read-only.

Commit

Permalink
fix(features): hide new features
Browse files Browse the repository at this point in the history
  • Loading branch information
desoindx committed Feb 8, 2022
1 parent 2ce0134 commit 9682509
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
project: ${{ env.project }}
imageName: ${{ env.project }}/app
token: ${{ secrets.GITHUB_TOKEN }}
dockerbuildargs: |
buildArgs: |
PRODUCTION=true
##############################################################################
Expand Down
2 changes: 1 addition & 1 deletion .socialgouv/environments/preprod/yaml/importData.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@ spec:
- secretRef:
name: azure-pg-user
command:
- yarn run cron:launch -- importData
- ["yarn", "run", "cron:launch", "--", "importData"]
restartPolicy: Never
2 changes: 1 addition & 1 deletion .socialgouv/environments/preprod/yaml/importState.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@ spec:
- secretRef:
name: azure-pg-user
command:
- yarn run cron:launch -- importState
- ["yarn", "run", "cron:launch", "--", "importState"]
restartPolicy: Never
2 changes: 1 addition & 1 deletion .socialgouv/environments/prod/yaml/importData.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@ spec:
- secretRef:
name: azure-pg-user
command:
- yarn run cron:launch -- importData
- ["yarn", "run", "cron:launch", "--", "importData"]
restartPolicy: Never
2 changes: 1 addition & 1 deletion .socialgouv/environments/prod/yaml/importState.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@ spec:
- secretRef:
name: azure-pg-user
command:
- yarn run cron:launch -- importState
- ["yarn", "run", "cron:launch", "--", "importState"]
restartPolicy: Never
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ COPY package.json yarn.lock ./
RUN yarn install --frozen-lockfile
COPY . .

RUN if [ -z "$PRODUCTION" ]; then cp .env.staging .env.production; cp ./public/robots.staging.txt ./public/robots.txt; fi
RUN if [ -z "$PRODUCTION" ]; then echo "Copy staging values"; cp .env.staging .env.production; cp ./public/robots.staging.txt ./public/robots.txt; fi
RUN yarn build && yarn install --production --ignore-scripts --prefer-offline

# Production image, copy all the files and run next
Expand Down

0 comments on commit 9682509

Please sign in to comment.