Skip to content

Commit

Permalink
update to docsify
Browse files Browse the repository at this point in the history
  • Loading branch information
ryderdamen committed Oct 23, 2024
1 parent 19b2a6e commit 5054a51
Show file tree
Hide file tree
Showing 9 changed files with 156 additions and 328 deletions.
58 changes: 10 additions & 48 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,59 +4,21 @@
# documentation.

# Sample workflow for building and deploying a Jekyll site to GitHub Pages
name: Deploy Jekyll site to Pages
name: Deploy to GitHub Pages

on:
push:
branches: ["main"]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write

# Allow one concurrent deployment
concurrency:
group: "pages"
cancel-in-progress: true
branches:
- main

jobs:
# Build job
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.3' # Not needed with a .ruby-version file
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
cache-version: 0 # Increment this number if you need to re-download cached gems
- name: Setup Pages
id: pages
uses: actions/configure-pages@v5
- name: Build with Jekyll
# Outputs to the './_site' directory by default
run: bundle exec jekyll build --baseurl "${{ steps.pages.outputs.base_path }}"
env:
JEKYLL_ENV: production
- name: Upload artifact
# Automatically uploads an artifact from the './_site' directory by default
uses: actions/upload-pages-artifact@v3

# Deployment job
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
- uses: actions/checkout@v2

- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: .
49 changes: 37 additions & 12 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,15 +1,40 @@
# Not sure what a .gitignore is?
# See: https://git-scm.com/docs/gitignore

# These are directly copied from Jekyll's first-party docs on `.gitignore` files:
# https://jekyllrb.com/tutorials/using-jekyll-with-bundler/#commit-to-source-control

# Ignore the default location of the built site, and caches and metadata generated by Jekyll
_site/
.sass-cache/
.jekyll-cache/
.jekyll-metadata

# Ignore folders generated by Bundler
.bundle/
vendor/
# Ignore system and IDE files
.DS_Store
.vscode/

# Node modules (if using npm for any reason)
node_modules/

# Docsify generated files
_sidebar.md

# Logs
*.log

# Environment variables
.env

# Docker
Dockerfile
.dockerignore

# Makefile
Makefile

# Temporary files
*.tmp
*.swp
*.swo

# Build output (if any)
dist/
build/

# Coverage directory used by tools like istanbul
coverage/

# Optional: ignore local development server files
.docsify/
7 changes: 0 additions & 7 deletions Gemfile

This file was deleted.

91 changes: 0 additions & 91 deletions Gemfile.lock

This file was deleted.

Loading

0 comments on commit 5054a51

Please sign in to comment.