Skip to content

chore: adding new shortcode to include div with id for eventpublisher… #76

chore: adding new shortcode to include div with id for eventpublisher…

chore: adding new shortcode to include div with id for eventpublisher… #76

Workflow file for this run

name: GitHub Pages
on:
push:
branches:
- master
jobs:
deploy:
runs-on: ubuntu-latest
permissions:
contents: write
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
steps:
- name: Checkout sources
uses: actions/checkout@v3
with:
lfs: true
submodules: true # Fetch Hugo themes (true OR recursive)
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: 'latest'
# extended: true
- name: Restore Hugo cache
uses: actions/cache@v2
with:
path: /tmp/hugo_cache
key: ${{ runner.os }}-hugomod-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-hugomod
- name: Build
env:
HUGO_PARAMS_TWITTER: ${{ secrets.TWITTER_TOKEN }}
run: hugo --minify --baseURL https://${{ vars.DOMAIN }}
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public
cname: ${{ vars.DOMAIN }}