git

My personal website source code
Log | Files | Refs | Submodules | README | LICENSE

commit 022399ce48648b53630a0e08a2e58d04191bfad4
parent 3f9cd249869e93540e93570db0c63db0a6eadab4
Author: Luís Ferreira <[email protected]>
Date:   Tue, 18 Jan 2022 15:50:47 +0000

ci(github): use archlinux container and add stagit dependency

Signed-off-by: Luís Ferreira <[email protected]>

Diffstat:
M.github/workflows/build.yml | 8+++++---
1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml @@ -12,7 +12,7 @@ on: jobs: hugo: runs-on: ubuntu-latest - container: klakegg/hugo:0.83.1-ext-alpine-onbuild + container: ljmf00/archlinux steps: - uses: actions/checkout@v2 with: @@ -20,7 +20,8 @@ jobs: submodules: recursive - name: Install dependencies run: | - apk add rsync + pacman -Syu rsync hugo --noconfirm + sudo -u docker yay -S stagit --noconfirm - name: Build website run: make full-build HUGO_ARGS=--minify - name: Archive artifact folder @@ -88,7 +89,8 @@ jobs: - name: Extract artifact run: tar -xvf public.tar - name: Remove index blobs - run: rm -rf public/public/ + run: | + rm -rf public/public/ public/git/ - name: Install dependencies run: | apk add jq