Skip to content

Commit

Permalink
add deployment workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
camdendotlol committed Dec 11, 2024
1 parent bd38f80 commit 9e1f7c4
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 52 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Deploy to GitHub Pages

on:
push:
branches:
- main

jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Check out
uses: actions/checkout@v4
- name: Set up Node
uses: actions/setup-node@v4
with:
node-version: 22
- name: Build
run: |
npm i
npm run build
- name: Deploy
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages
clean: true
folder: ./dist
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
node_modules
dist/**
17 changes: 0 additions & 17 deletions dist/assets/index-RQjVk0yp.js

This file was deleted.

35 changes: 0 additions & 35 deletions dist/index.html

This file was deleted.

0 comments on commit 9e1f7c4

Please sign in to comment.