Skip to content

Commit

Permalink
deno
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinfiol committed Oct 18, 2023
1 parent b329f66 commit be3d6bd
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/build.yml
Expand Up @@ -4,6 +4,8 @@ on:
branches:
- master
env:
PROJECT_NAME: sfn
DENO_DEPLOY_TOKEN: ${{ secrets.DENO_DEPLOY_TOKEN }}
SURGE_LOGIN: ${{ secrets.SURGE_LOGIN }}
SURGE_TOKEN: ${{ secrets.SURGE_TOKEN }}
API_URL: ${{ secrets.API_URL }}
Expand All @@ -25,5 +27,7 @@ jobs:
pnpm run build
- name: deploy
run: |
pnpm install -g surge
surge ./dist/ sfn.surge.sh
# install deployctl
- deno install --allow-all --no-check https://deno.land/x/deploy@1.8.2/deployctl.ts
# deploy site as file server
- cd ./dist/ && deployctl deploy --project="$PROJECT_NAME" --prod https://deno.land/std@0.204.0/http/file_server.ts

0 comments on commit be3d6bd

Please sign in to comment.