mirror of
https://github.com/nunocoracao/blowfish.git
synced 2025-05-09 00:51:52 +02:00
31 lines
575 B
YAML
31 lines
575 B
YAML
|
|
name: Build Docs pages
|
|
|
|
on:
|
|
push:
|
|
branches: [ "main" ]
|
|
pull_request:
|
|
branches: [ "main" ]
|
|
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- name: Hugo setup
|
|
uses: peaceiris/actions-hugo@v2.4.12
|
|
env:
|
|
ACTIONS_ALLOW_UNSECURE_COMMANDS: 'true'
|
|
|
|
- uses: actions/checkout@v3
|
|
|
|
- name: Compile site
|
|
run: hugo --source exampleSite --themesDir ../..
|
|
|
|
- name: Deploy GitHub Pages site
|
|
uses: actions/deploy-pages@v1.0.10
|
|
with:
|
|
artifact_name: docs
|