Skip to content

Commit

Permalink
Update environment variable names
Browse files Browse the repository at this point in the history
Changed PROJECT_NAME to REPOSITORY_NAME in workflow.
Updated project.json creation to reflect the new variable name.
  • Loading branch information
AndrewSazonov committed Jan 29, 2025
1 parent c5fd0fc commit 4890f90
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-page.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
shell: bash
run: |
echo "BRANCH_NAME=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
echo "PROJECT_NAME=EasyDiffraction" >> $GITHUB_ENV
echo "REPOSITORY_NAME=diffraction" >> $GITHUB_ENV
echo "[email protected]" >> $GITHUB_ENV
- name: Download dependences
Expand All @@ -33,7 +33,7 @@ jobs:
- name: Create config
working-directory: ../EasySite
run: |
echo '{"project": "${{ env.PROJECT_NAME }}"}' > project.json
echo '{"project": "${{ env.REPOSITORY_NAME }}"}' > project.json
- name: Install npm dependencies
working-directory: ../EasySite
Expand Down

0 comments on commit 4890f90

Please sign in to comment.