Skip to content

Commit

Permalink
Update EKS-PROD-Deployment.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
muzafferjoya authored Jun 14, 2024
1 parent 2a59ec0 commit 77b716e
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/EKS-PROD-Deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,13 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: 21.1.0
- name: Debug ENV_FILE_PROD secret content
run: |
echo "Contents of ENV_FILE_PROD (redacted):"
echo "${{ secrets.ENV_FILE_PROD }}" | head -c 100
- name: Copy .env file
env:
ENV_FILE_CONTENT: ${{ secrets.ENV_FILE_PROD }}
run: |
echo "$ENV_FILE_PROD" > manifest/configmap.yaml
echo "${{ secrets.ENV_FILE_PROD }}" > manifest/configmap.yaml
echo "Contents of manifest/configmap.yaml:"
cat manifest/configmap.yaml
- name: Show PWD and list content
Expand All @@ -41,9 +43,7 @@ jobs:
pwd
ls -ltra
- name: Creating Dockerfile
env:
DOCKERFILE_FILE_CONTENT: ${{ secrets.DOCKERFILE_FILE_CONTENT }}
run: echo "$DOCKERFILE_FILE_CONTENT" > Dockerfile
run: echo "${{ secrets.DOCKERFILE_FILE_CONTENT }}" > Dockerfile
- name: Show PWD and list content
run: |
echo "Current Working Directory: $(pwd)"
Expand Down

0 comments on commit 77b716e

Please sign in to comment.