Skip to content

Commit

Permalink
add docs workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Juan Sanchez committed Aug 10, 2024
1 parent a8fb1f6 commit f702092
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Deploy Documentation

on:
push:
branches:
- main # Change this to your default branch if it's different

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.0 # Adjust the Ruby version as needed

- name: Install Jekyll
run: gem install jekyll bundler

- name: Build Jekyll site
run: |
bundle install
bundle exec jekyll build
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./_site # Change this if your output directory is different

0 comments on commit f702092

Please sign in to comment.