Skip to content

Commit

Permalink
Add working-directory on gh-actions
Browse files Browse the repository at this point in the history
  • Loading branch information
XxshiftxX committed Aug 3, 2023
1 parent 17a9786 commit fb18783
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/gh-page.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,17 @@ jobs:
with:
submodules: true

- name: Move Dashboard
run: cd Dashboard

- name: Install Dependency
working-directory: ./Dashboard
run: yarn

- name: Build .env
run: |
echo "VITE_OBSOLETE_DATA_PATH=$VITE_OBSOLETE_DATA_PATH" >> .env.production
echo "VITE_API_PATH=$VITE_API_PATH" >> .env.production
echo "VITE_OBSOLETE_DATA_PATH=$VITE_OBSOLETE_DATA_PATH" >> ./Dashboard/.env.production
echo "VITE_API_PATH=$VITE_API_PATH" >> ./Dashboard/.env.production
- name: Build Dashboard
working-directory: ./Dashboard
run: yarn build --outDir ../publish

- name: Deploy
Expand Down

0 comments on commit fb18783

Please sign in to comment.