resume/.gitea/workflows/build-and-deploy.yml

30 lines
588 B
YAML
Raw Normal View History

name: Build and Deploy Resume Site
on:
push:
branches:
- master
jobs:
setup-website-content:
runs-on: ubuntu-latest
2024-09-03 22:36:49 +00:00
container:
image: shockrah/hugo
steps:
- name: Checkout repository resources
uses: actions/checkout@v4
- name: Build website content
run: hugo
with:
name: content
path: public/
push-content:
needs: setup-website-content
2024-09-03 22:56:33 +00:00
runs-on: ubuntu-latest
container:
image: shockrah/hugo
steps:
- name: Check file content is present
run: pwd && ls public/