Skip to content

Commit

Permalink
Fix auto deploy workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
krau5 committed Feb 9, 2025
1 parent 9d57863 commit 00f14d6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@ on:
push:
branches:
- main
paths:
- 'src/**'
- 'index.html'

jobs:
build:
Expand Down Expand Up @@ -35,5 +32,8 @@ jobs:
- name: Build the project
run: npm run build

- name: Install Surge
run: npm install -g surge

- name: Deploy to Surge
run: npm run deploy
run: surge --project ./dist --domain ${{ secrets.SURGE_DOMAIN }} --token ${{ secrets.SURGE_TOKEN }}

0 comments on commit 00f14d6

Please sign in to comment.