Skip to content

Commit

Permalink
feat: Revert to previous way of using environment variables
Browse files Browse the repository at this point in the history
  • Loading branch information
25Ericcheong committed May 3, 2024
1 parent 03b3369 commit 813481f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/deploy-to-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ jobs:
- run: echo "Attempting to install required tools and build project"
- uses: actions/checkout@v4

- name: "Use Node.js $NODE_VERSION"
- name: "Use Node.js ${{ env.NODE_VERSION }}"
uses: actions/setup-node@v4
with:
node-version: "$NODE_VERSION"
node-version: ${{ env.NODE_VERSION }}
cache: "npm"

- name: Install Dependencies and Build project
Expand All @@ -39,11 +39,11 @@ jobs:
- name: Store production artifacts
uses: actions/upload-artifact@v4
with:
name: "artifact_$REPO_UPDATED_TIMESTAMP"
name: "artifact_${{ env.REPO_UPDATED_TIMESTAMP }}"
path: |
dist
!dist/**/*.md
retention-days: "$ARTIFACT_RETENTION_DAYS"
retention-days: ${{ env.ARTIFACT_RETENTION_DAYS }}

- run: echo "🍏 Build and save artifact status is ${{ job.status }}."
job_2_deploy:
Expand Down

0 comments on commit 813481f

Please sign in to comment.