Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinfiol committed Nov 21, 2023
1 parent 58b33ad commit cb96a7e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/build.yml
Expand Up @@ -6,8 +6,7 @@ on:
env:
PROJECT_NAME: sfn
DENO_DEPLOY_TOKEN: ${{ secrets.DENO_DEPLOY_TOKEN }}
SURGE_LOGIN: ${{ secrets.SURGE_LOGIN }}
SURGE_TOKEN: ${{ secrets.SURGE_TOKEN }}
SPA_FALLBACK: /index.html
API_URL: ${{ secrets.API_URL }}
jobs:
build-and-deploy:
Expand All @@ -31,4 +30,4 @@ jobs:
- name: deploy
run: |
deno install --allow-all --no-check https://deno.land/x/deploy@1.8.2/deployctl.ts
cd ./dist/ && deployctl deploy --project="$PROJECT_NAME" --prod https://deno.land/std@0.204.0/http/file_server.ts
cd ./dist/ && deployctl deploy --project="$PROJECT_NAME" --prod https://deno.land/x/deploy_spa_serve@0.1.0/main.ts

0 comments on commit cb96a7e

Please sign in to comment.