From 4deb6966b393d4a8c75fe95e329092e1f04be568 Mon Sep 17 00:00:00 2001 From: vanten-s Date: Sun, 21 Jul 2024 22:41:54 +0200 Subject: [PATCH] Test --- .forgejo/workflows/test.yaml | 10 +++++----- Dockerfile | 10 ---------- entrypoint.sh | 7 ------- 3 files changed, 5 insertions(+), 22 deletions(-) delete mode 100644 Dockerfile delete mode 100644 entrypoint.sh 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 -