Skip to content

Commit

Permalink
added deployment workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
rontarrant committed Nov 11, 2024
1 parent 2043d97 commit c4e12bc
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/pages-deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: GitHub Pages

on:
push:
branches:
- main

jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Setup Pages
uses: actions/configure-pages@v1
- name: Build and deploy
run: |
mkdir public
cp -r * public/
git config --global user.name "github-actions[bot]"
git config --global user.email "github-actions[bot]@users.noreply.github.com"
git add .
git commit -m "Deploy to GitHub Pages"
git push origin main:gh-pages

0 comments on commit c4e12bc

Please sign in to comment.