This repository has been archived on 2024-05-08. You can view files and clone it, but cannot push or open issues or pull requests.
resume/.gitea/workflows/deploy.yaml
Serghei Cebotari 108c6a4bd0
All checks were successful
Deploy resume page / build (push) Successful in 10s
Add Gitea Action
2023-12-12 21:49:24 +03:00

24 lines
646 B
YAML

name: Deploy resume page
on:
push:
branches: ["master"]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
container:
volumes:
- homepage:/homepage
env:
HUGO_VERSION: 0.114.0
steps:
- name: Install Hugo CLI
run: |
wget -O ${{ runner.temp }}/hugo.deb https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_linux-amd64.deb \
&& dpkg -i ${{ runner.temp }}/hugo.deb
- name: Checkout
uses: actions/checkout@v3
- name: Build with Hugo
run: hugo -s /workspace/chebser/resume --minify -d /homepage