Skip to content

Commit

Permalink
Updated deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
boonier committed Sep 14, 2024
1 parent be1e71e commit 608bce4
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,16 @@ jobs:
- name: Checkout code
uses: actions/checkout@v2

- name: Build and deploy
- name: Install dependencies
run: npm install

- name: Build
run: npm run build

- name: Deploy
run: |
git checkout -b gh-pages
git rm -rf --cached *
git checkout main -- build
cp -r build/* .
git add .
git commit -m "Deploy to GitHub Pages"
Expand Down

0 comments on commit 608bce4

Please sign in to comment.