Skip to content

Chore: update sakana-widget #123

Chore: update sakana-widget

Chore: update sakana-widget #123

Workflow file for this run

name: Publish site to Cloudflare Pages
on:
workflow_dispatch:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v3
with:
submodules: true
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: 'latest'
extended: true
- name: Build
run: hugo --minify
- name: Deploy to Cloudflare Pages
if: success()
uses: cloudflare/[email protected]
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: d73a30412652351305e3f89fd125f690
projectName: blog
directory: public
branch: main
- name: Upload Algolia Index
uses: wangchucheng/algolia-uploader@master
with:
app_id: ${{ secrets.ALGOLIA_APP_ID }}
admin_key: ${{ secrets.ALGOLIA_ADMIN_KEY }}
index_name: ${{ secrets.ALGOLIA_INDEX_NAME }}
index_file_path: public/index.json