Skip to content

Commit

Permalink
Configure GitHub Pages deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
hppanpaliya committed Jan 3, 2025
1 parent 73a5b3d commit fa0ff6f
Show file tree
Hide file tree
Showing 2 changed files with 54 additions and 0 deletions.
50 changes: 50 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
name: Deploy to GitHub Pages

on:
push:
branches: ['main']
workflow_dispatch:

permissions:
contents: read
pages: write
id-token: write

concurrency:
group: 'pages'
cancel-in-progress: false

jobs:
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Set up Node
uses: actions/setup-node@v4
with:
node-version: 20
cache: 'npm'

- name: Install dependencies
run: npm i

- name: Build
run: |
npm run build -- --base=/${{ github.event.repository.name }}/
- name: Setup Pages
uses: actions/configure-pages@v4

- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: 'dist'

- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ A modern web application built with React and Vite that allows users to merge mu

![Excel Merger Screenshot](./screenshot.png)

## Live Demo

[https://hppanpaliya.github.io/excel-merger/](https://hppanpaliya.github.io/excel-merger/)

## Features

- 🔄 Drag and drop interface for file selection
Expand Down

0 comments on commit fa0ff6f

Please sign in to comment.