Skip to content

Commit

Permalink
Enable GH CI
Browse files Browse the repository at this point in the history
  • Loading branch information
rubensworks committed Oct 31, 2023
1 parent a7531c4 commit fa94214
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/deploy-gh-pages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Build and Deploy
on: [push]
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/[email protected]
with:
persist-credentials: false

- name: Setup Ruby ✨
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.0'
bundler-cache: true

- name: Install and Build 🔧
run: |
bundle exec nanoc compile
bundle exec nanoc check internal_links mixed_content stale
- name: Deploy 🚀
uses: JamesIves/[email protected]
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages
FOLDER: output
CLEAN: true

0 comments on commit fa94214

Please sign in to comment.