Skip to content

Commit

Permalink
Update ci-cd.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
nogorka authored May 13, 2024
1 parent 9b10fd9 commit 486fa7c
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions .github/workflows/ci-cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,18 +19,13 @@ jobs:

- name: Install Dependencies
run: npm install

- name: Verify environment variables before build
run: |
echo "VITE_APP_HOST is ${{ secrets.VITE_APP_HOST }}"
echo "VITE_APP_PORT is ${{ secrets.VITE_APP_PORT }}"

- name: Build
run: npm run build
env:
VITE_GRAPH_HOPPER_KEY: ${{ secrets.GRAPH_HOPPER_KEY }}
VITE_APP_HOST: ${{ secrets.VITE_APP_HOST }}
VITE_APP_PORT: ${{ secrets.VITE_APP_PORT }}
VITE_APP_HOST: ${{ secrets.BACKEND_HOST }}
VITE_APP_PORT: ${{ secrets.BACKEND_PORT }}

- name: Upload Build Artifacts
uses: actions/upload-artifact@v2
Expand Down Expand Up @@ -60,3 +55,6 @@ jobs:
overwrites-pull-request-comment: true
netlify-site-id: ${{ secrets.NETLIFY_SITE_ID }}
personal-access-token: ${{ secrets.NETLIFY_AUTH_TOKEN }}
env:
VITE_APP_HOST: ${{ secrets.BACKEND_HOST }}
VITE_APP_PORT: ${{ secrets.BACKEND_PORT }}

0 comments on commit 486fa7c

Please sign in to comment.