25 lines
421 B
YAML
25 lines
421 B
YAML
name: Hugo deploy
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
workflow_dispatch:
|
|
|
|
defaults:
|
|
run:
|
|
working-directory: /var/lib/hugo/excipio
|
|
|
|
jobs:
|
|
retrieve-and-execute:
|
|
runs-on: self-hosted
|
|
|
|
steps:
|
|
# Checkout the repository
|
|
- name: Checkout Repository
|
|
run: git pull https://git.assilvestrar.club/lourenco/excipio.git main
|
|
|
|
# Execute your command
|
|
- name: Build hugo
|
|
run: hugo build
|