Skip to content

Remove old onload calls #110

Remove old onload calls

Remove old onload calls #110

Workflow file for this run

name: GitHub Pages
on:
push:
branches:
- main
paths-ignore:
- '.github/**'
- '.gitignore'
- 'README.md'
schedule:
- cron: '0 6 1 1 *'
workflow_dispatch:
jobs:
deploy:
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v2
with:
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: '0.97.0'
extended: true
- name: Build with Hugo
run: hugo --minify
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
if: github.ref == 'refs/heads/main'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public
cname: customtwemoji.com
- name: Send Percy snapshots
run: npx @percy/cli snapshot public/
env:
PERCY_TOKEN: ${{ secrets.PERCY_TOKEN }}