Skip to content

Commit

Permalink
deploy to gh pages
Browse files Browse the repository at this point in the history
  • Loading branch information
Reecepbcups committed Nov 5, 2024
1 parent b12bfce commit f2a25ba
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 38 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/deploy-github-pages.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Deploy to GitHub Pages

permissions:
contents: write
actions: write
pages: write

on:
workflow_dispatch:
push:
branches:
- main

jobs:
deploy:
name: Deploy to GitHub Pages
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- uses: actions/setup-node@v4
with:
node-version: 18
cache: npm
cache-dependency-path: package-lock.json

- name: 🤔 Sync latest Upstream
run: make sync-docs

- name: Build website 🔨
run: make build-docs

- name: Deploy 🚀
uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: build
single-commit: true
38 changes: 0 additions & 38 deletions .github/workflows/deploy-github-pages.yaml.example

This file was deleted.

0 comments on commit f2a25ba

Please sign in to comment.