Skip to content

fix(photos): narrow photo thumbnail generation #363

fix(photos): narrow photo thumbnail generation

fix(photos): narrow photo thumbnail generation #363

Workflow file for this run

name: main
on:
push:
branches:
- main
jobs:
main:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Restore cache
uses: actions/cache@v3
with:
path: cache
key: ${{ runner.os }}-cache
- name: Setup Go
uses: actions/setup-go@v4
with:
go-version: "1.21"
- name: Build
env:
ROOT_URL: https://chuhlomin.com
REMOVE_HTML_EXT: "1"
COMMENTS_ENABLED: "1"
COMMENTS_SITE_ID: "micro"
SEARCH_ENABLED: "1"
SEARCH_HOST: "https://search.chuhlomin.com/"
SEARCH_MASTER_KEY: ${{ secrets.SEARCH_MASTER_KEY }}
SEARCH_API_KEY: ${{ secrets.SEARCH_API_KEY }}
run:
make build
- name: Deploy
uses: cloudflare/wrangler-action@v3.3.2
if: github.event_name == 'push' && !contains(github.event.head_commit.message, '[skip deploy]')
with:
apiToken: ${{ secrets.CF_API_TOKEN }}
accountId: ${{ secrets.CF_ACCOUNT_ID }}
command: pages deploy output --project-name=homepage --branch=main --commit-dirty=true