parent
b1a09df267
commit
4deb6966b3
|
@ -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
|
||||
|
|
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