Skip to content

Commit 8431680

Browse files
committed
chore(workflow): set env variables to the build
1 parent 4ceecda commit 8431680

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/deploy.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,15 @@ jobs:
2323

2424
- name: 🏗 Build project
2525
run: npm run build
26+
env:
27+
VITE_SUPABASE_URL: ${{ secrets.VITE_SUPABASE_URL }}
28+
VITE_SUPABASE_KEY: ${{ secrets.VITE_SUPABASE_KEY }}
2629

2730
- name: 🚀 Deploy to Hostinger via FTP
2831
uses: SamKirkland/[email protected]
2932
with:
3033
server: ${{ secrets.FTP_HOST }}
3134
username: ${{ secrets.FTP_USERNAME }}
3235
password: ${{ secrets.FTP_PASSWORD }}
33-
local-dir: dist/
36+
local-dir: build/
3437
server-dir: ${{ secrets.FTP_TARGET_DIR }}/

0 commit comments

Comments
 (0)