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

33 lines
671 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
2024-09-03 23:01:25 +00:00
run: hugo & pwd && ls -Rl
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
2024-09-03 22:58:24 +00:00
with:
name: content
path: public/
run: pwd && ls -lRt public/