[#1] Implement github pages workflow

Signed-off-by: Mikhail Petrov <m.petrov@yadro.com>
This commit is contained in:
Mikhail Petrov 2022-12-29 15:15:29 +03:00 committed by Mike Petrov
parent 7b16d141f7
commit 9655f03a13
2 changed files with 33 additions and 1 deletions

32
.github/workflows/gh-pages.yml vendored Normal file
View file

@ -0,0 +1,32 @@
name: github pages
on:
push:
branches:
- master
pull_request:
jobs:
deploy:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
with:
submodules: true
fetch-depth: 0
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: 'latest'
# extended: true
- name: Build
run: hugo --minify
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
if: github.ref == 'refs/heads/master'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public

View file

@ -1,5 +1,5 @@
################################# Site configuration ###################
baseURL = 'https://truecloudlab.github.io/'
baseURL = 'https://truecloudlab.github.io/frostfs.info'
# disable language
disableLanguages = []