Skip to content

Правки в статье #14

Правки в статье

Правки в статье #14

Workflow file for this run

name: GitHub Pages Deploy
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout the repository
uses: actions/checkout@v2
with:
submodules: true
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: '0.128.2'
- name: Build the site
run: hugo --minify --verbose
- name: List files in public directory
run: ls -la ./public
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public