diff --git a/.forgejo/workflows/test.yaml b/.forgejo/workflows/test.yaml index 0fc2885..6aef4dd 100644 --- a/.forgejo/workflows/test.yaml +++ b/.forgejo/workflows/test.yaml @@ -2,9 +2,9 @@ on: [push] jobs: build: runs-on: docker + container: + image: alpine:latest steps: - - run: git clone https://forgejo.vanten-s.com/vanten-s/vanten-s.com ${{ github.workspace }}/code - - uses: https://forgejo.vanten-s.com/vanten-s/vanten-s.com@main - with: - args: ${{ github.workspace }}/code - - run: ls ${{ github.workspace }}/code + - run: apk add hugo + - run: hugo + - run: ls diff --git a/Dockerfile b/Dockerfile deleted file mode 100644 index 58f1a9e..0000000 --- a/Dockerfile +++ /dev/null @@ -1,10 +0,0 @@ -FROM alpine - -WORKDIR /src - -RUN apk add hugo - -ADD *.sh / - -ENTRYPOINT ["/entrypoint.sh"] -CMD ["--help"] diff --git a/entrypoint.sh b/entrypoint.sh deleted file mode 100644 index c950f71..0000000 --- a/entrypoint.sh +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/sh - -set -e - -cd "$1" -hugo -