Skip to content

Commit

Permalink
Update EKS-DEV-PRATHAM-DEPLOYMENT.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
AbhilashKD authored Oct 11, 2024
1 parent ed38bf7 commit 8a00ade
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions .github/workflows/EKS-DEV-PRATHAM-DEPLOYMENT.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,16 +28,15 @@ jobs:
with:
node-version: 21.1.0

- name: Decode and write .env file
run: |
echo "${{ secrets.ENV_FILE_CONTENT_DEV }}" | base64 -d > manifest/configmap.yaml
echo "Contents of manifest/configmap.yaml:"
cat manifest/configmap.yaml
# - name: Copy .env file
# env:
# ENV_FILE_CONTENT: ${{ secrets.ENV_FILE_CONTENT_DEV }}
# run: echo "$ENV_FILE_CONTENT" > manifest/configmap.yaml
# - name: Decode and write .env file
# run: |
# echo "${{ secrets.ENV_FILE_CONTENT_DEV }}" | base64 -d > manifest/configmap.yaml
# echo "Contents of manifest/configmap.yaml:"
# cat manifest/configmap.yaml
- name: Copy .env file
env:
ENV_FILE_CONTENT: ${{ secrets.ENV_FILE_CONTENT_DEV }}
run: printf "%s" "$ENV_FILE_CONTENT" > manifest/configmap.yaml

- name: Show PWD and list content
run: |
Expand Down

0 comments on commit 8a00ade

Please sign in to comment.