Skip to content

Add Bluesky (#93) #5809

Add Bluesky (#93)

Add Bluesky (#93) #5809

name: Build & deploy live site
on:
push:
branches:
- main
# schedule:
# # Run on the hour
# - cron: '0 * * * *'
jobs:
build-deploy:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v1
- name: Install Ruby Dev
run: sudo apt-get install ruby-dev
- name: Install AsciiDoctor
run: sudo gem install asciidoctor
- name: Install Rouge
run: sudo gem install rouge -v 3.30.0
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: '0.105.0'
- name: Build
run: hugo
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }}
external_repository: rmoff/rmoff.github.io
publish_branch: master
# Without `keep_files` the `CNAME` file in the target repo will get removed
# and the custom domain configured for GitHub pages will get dropped every
# time the action runs…
keep_files: true