Skip to content

Merge pull request #118 from marioortizmanero/convert-adoc-to-md #330

Merge pull request #118 from marioortizmanero/convert-adoc-to-md

Merge pull request #118 from marioortizmanero/convert-adoc-to-md #330

Workflow file for this run

name: GitHub Pages Upload
on:
push:
branches:
- master
jobs:
deploy:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
with:
# Fetch Hugo themes (true OR recursive)
submodules: true
# Fetch all history for .GitInfo and .Lastmod
fetch-depth: 0
- name: Setup Hugo
uses: peaceiris/actions-hugo@v3
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.2
- run: gem install asciidoctor
- name: Run Hugo
run: |
alias asciidoctor="asciidoctor --attribute=experimental=true --attribute=icons=font"
hugo --minify --logLevel=info --gc
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public
cname: nullderef.com