Skip to content

Compressed images in code philosophy blogpost #39

Compressed images in code philosophy blogpost

Compressed images in code philosophy blogpost #39

Workflow file for this run

name: Deploy
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
name: Deploy
steps:
- uses: actions/checkout@v2
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: '0.104.3'
extended: true
- name: Build
working-directory: ./personal-website
run: hugo --minify
- name: Publish to cloudflare
uses: cloudflare/wrangler-action@2.0.0
with:
apiToken: ${{ secrets.CF_API_TOKEN }}
workingDirectory: 'cloudflare-worker'
preCommands: npm install