Skip to content

Update cv.md

Update cv.md #44

Workflow file for this run

name: Build and Publish to Cloudflare Pages
on:
workflow_dispatch:
pull_request:
branches:
- main
push:
branches:
- main
- 'release/*'
jobs:
publish:
runs-on: ubuntu-latest
env:
HUGO_VERSION: 0.117.0
name: Publish to Cloudflare Pages
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: true
fetch-depth: 1
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: ${{ env.HUGO_VERSION }}
- name: Build
run: hugo --minify --gc
- name: Publish to Cloudflare Pages
uses: cloudflare/pages-action@1
with:
accountId: ${{ secrets.CF_ACCOUNT_ID }}
apiToken: ${{ secrets.CF_API_TOKEN }}
directory: ./public
gitHubToken: ${{ secrets.GITHUB_TOKEN }}
projectName: kazakov-xyz
wranglerVersion: '3'