Skip to content

Commit

Permalink
Update frontend-ci.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
pwei1018 authored Aug 29, 2024
1 parent 1c0a962 commit 9deb45a
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/frontend-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -207,12 +207,18 @@ jobs:
node-version: ${{ matrix.node-version }}
cache: npm
cache-dependency-path: ${{ inputs.working_directory }}/package-lock.json
- name: Debug hashFiles
run: |
pwd
ls -l
echo "example FILES: |${{ hashFiles('.env.example') }}|"
echo "sample FILES: |${{ hashFiles('.env.sample') }}|"
- name: Copy .env.example
if: ${{ hashFiles('${{ inputs.working_directory }}/.env.example') != '' }}
if: ${{ hashFiles('.env.example') != '' }}
run: |
cp ${{ inputs.working_directory }}/.env.sample ${{ inputs.working_directory }}/.env
- name: Copy .env.sample
if: ${{ hashFiles('${{ inputs.working_directory }}/.env.sample') != '' }}
if: ${{ hashFiles('.env.sample') != '' }}
run: |
cp ${{ inputs.working_directory }}/.env.sample ${{ inputs.working_directory }}/.env
- name: Install dependencies
Expand Down

0 comments on commit 9deb45a

Please sign in to comment.