dockers/.gitea/workflows/hugo-builder.yml

19 lines
461 B
YAML
Raw Normal View History

2024-08-27 03:52:57 +00:00
name: Build Hugo Image
on:
push:
branches:
- master
2024-08-27 03:52:57 +00:00
jobs:
build-hugo-image:
2024-08-27 22:57:59 +00:00
runs-on: ubuntu-latest
2024-08-27 03:52:57 +00:00
steps:
2024-08-28 01:08:45 +00:00
- name: Check out repository code
uses: actions/checkout@v4
- name: General Docker Info
run: docker info
2024-08-28 01:07:20 +00:00
- name: Find all files in repo space
run: ls -lrt ${{ gitea.workspace }}
- name: Attempt a docker build
run: docker build -t shockrah/hugo ${{ gitea.workspace }}/website