Skip to content

Commit

Permalink
Add github deploy workflow and dependabot
Browse files Browse the repository at this point in the history
  • Loading branch information
quincylvania committed Jan 18, 2024
1 parent 1192a06 commit ce08b49
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
version: 2
updates:
- package-ecosystem: "bundler" # See documentation for possible values
directory: "/" # Location of package manifests
schedule:
interval: "daily"
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "daily"
28 changes: 28 additions & 0 deletions .github/workflows/deploy-production.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Build and Deploy
on:
push:
branches:
- main
permissions:
contents: write
jobs:
build-and-deploy:
concurrency: ci-${{ github.ref }} # Recommended if you intend to make multiple deployments in quick succession.
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v4
with:
submodules: 'true'

- name: Install and Build 🔧
uses: ruby/setup-ruby@v1
with:
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
- run: bundle exec jekyll build --config _config.yml,_config_production.yml

- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: _site # The folder the action should deploy.
branch: gh-pages

0 comments on commit ce08b49

Please sign in to comment.