resume/.gitea/workflows/build-and-deploy.yml
shockrah 93d9e157a4
Some checks failed
Build and Deploy Resume Site / setup-website-content (push) Successful in 4s
Build and Deploy Resume Site / push-content (push) Failing after 3s
Download artifacts before use
2024-09-03 15:58:24 -07:00

33 lines
655 B
YAML

name: Build and Deploy Resume Site
on:
push:
branches:
- master
jobs:
setup-website-content:
runs-on: ubuntu-latest
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
runs-on: ubuntu-latest
container:
image: shockrah/hugo
steps:
- name: Check file content is present
with:
name: content
path: public/
run: pwd && ls -lRt public/