Skip to content

Reformat. Fix build errors. #63

Reformat. Fix build errors.

Reformat. Fix build errors. #63

Workflow file for this run

name: CI
on:
pull_request:
types:
- closed
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Git checkout
uses: actions/checkout@v4
- name: Setup hugo
uses: peaceiris/actions-hugo@v3
with:
hugo-version: "0.140.0"
extended: true
- name: Install Dependencies
run: npm install
- name: Build
run: hugo --minify
- name: Deploy
uses: burnett01/[email protected]
with:
switches: -avzr --delete
path: public/
remote_path: ${{ secrets.DEPLOY_PATH }}
remote_host: ${{ secrets.DEPLOY_HOST }}
remote_port: ${{ secrets.DEPLOY_PORT }}
remote_user: ${{ secrets.DEPLOY_USER }}
remote_key: ${{ secrets.DEPLOY_KEY }}