Skip to content

Commit

Permalink
add workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
jsuyog2 committed Sep 13, 2024
1 parent 2d5290b commit fbb2ae8
Show file tree
Hide file tree
Showing 3 changed files with 2,999 additions and 11,672 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: GitHub Pages

on:
push:
branches:
- master

jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2

- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: '22'

- name: Install dependencies
run: npm install

- name: Build
run: npm run build

- name: Deploy
if: success()
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GH_TOKEN }}
publish_dir: dist/suyog-jadhav/browser
enable_jekyll: true
publish_branch: ghpages
Loading

0 comments on commit fbb2ae8

Please sign in to comment.