parent
b1a09df267
commit
4deb6966b3
|
@ -2,9 +2,9 @@ on: [push]
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
|
container:
|
||||||
|
image: alpine:latest
|
||||||
steps:
|
steps:
|
||||||
- run: git clone https://forgejo.vanten-s.com/vanten-s/vanten-s.com ${{ github.workspace }}/code
|
- run: apk add hugo
|
||||||
- uses: https://forgejo.vanten-s.com/vanten-s/vanten-s.com@main
|
- run: hugo
|
||||||
with:
|
- run: ls
|
||||||
args: ${{ github.workspace }}/code
|
|
||||||
- run: ls ${{ github.workspace }}/code
|
|
||||||
|
|
10
Dockerfile
10
Dockerfile
|
@ -1,10 +0,0 @@
|
||||||
FROM alpine
|
|
||||||
|
|
||||||
WORKDIR /src
|
|
||||||
|
|
||||||
RUN apk add hugo
|
|
||||||
|
|
||||||
ADD *.sh /
|
|
||||||
|
|
||||||
ENTRYPOINT ["/entrypoint.sh"]
|
|
||||||
CMD ["--help"]
|
|
|
@ -1,7 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
|
|
||||||
set -e
|
|
||||||
|
|
||||||
cd "$1"
|
|
||||||
hugo
|
|
||||||
|
|
Loading…
Reference in a new issue