Skip to content

Commit

Permalink
CDE-40 chore: Update codefresh pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
afonsobspinto committed Feb 22, 2024
1 parent 945a233 commit 99de65f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion build_demo.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import dotenv from 'dotenv';
import replace from 'replace-in-file';

dotenv.config(); // Load environment variables
dotenv.config();

const getReplacements = () => {
// Filter only variables starting with VITE_
Expand Down
2 changes: 2 additions & 0 deletions k8s/codefresh.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ steps:
tag: "${{CF_SHORT_REVISION}}"
dockerfile: Dockerfile
registry: ${{REGISTRY}}
environment:
- VITE_API_KEY=${{VITE_API_KEY}}
deploy-to-kubernetes:
image: codefresh/cf-deploy-kubernetes
tag: latest
Expand Down

0 comments on commit 99de65f

Please sign in to comment.