Skip to content

Commit

Permalink
update deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
nachat-ayoub committed Feb 17, 2024
1 parent 6dc78cf commit dcdce4d
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,6 @@ concurrency:
group: 'pages'
cancel-in-progress: true

#Allow repo secrets
env:
VITE_SERVICE_ID: ${{ secrets.VITE_SERVICE_ID }}
VITE_TEMPLATE_ID: ${{ secrets.VITE_TEMPLATE_ID }}
VITE_PUBLIC_KEY: ${{ secrets.VITE_PUBLIC_KEY }}

jobs:
# Single deploy job since we're just deploying
deploy:
Expand All @@ -45,6 +39,11 @@ jobs:
run: npm install
- name: Build
run: npm run build
#Allow repo secrets
env:
VITE_SERVICE_ID: ${{ secrets.VITE_SERVICE_ID }}
VITE_TEMPLATE_ID: ${{ secrets.VITE_TEMPLATE_ID }}
VITE_PUBLIC_KEY: ${{ secrets.VITE_PUBLIC_KEY }}
- name: Setup Pages
uses: actions/configure-pages@v3
- name: Upload artifact
Expand Down

0 comments on commit dcdce4d

Please sign in to comment.