Use custom Dockerfile with node and pip
All checks were successful
/ build (push) Successful in 27s

This commit is contained in:
Guillem 2023-12-31 19:07:16 +01:00
parent 1506930576
commit e40f811ed9
Signed by: lordwektabyte
GPG key ID: 6F6C296B2D4475DF

View file

@ -16,8 +16,9 @@ env:
jobs: jobs:
build: build:
runs-on: docker runs-on: docker
container:
image: git.lordwektabyte.cat/lordwektabyte/node-pip:latest
steps: steps:
- run: apt-get update && apt-get install python3-pip -y
- uses: https://code.forgejo.org/actions/checkout@v4 - uses: https://code.forgejo.org/actions/checkout@v4
with: with:
fetch-depth: 0 fetch-depth: 0
@ -40,7 +41,7 @@ jobs:
path: public path: public
- run: git switch --orphan $PUBLISH_BRANCH - run: git switch --orphan $PUBLISH_BRANCH
- run: git add public - run: git add public
- run: git mv public/{.[!.],}* . - run: git mv public/* public/.domains .
- run: git commit -m "Mkdocs Build" - run: git commit -m "Mkdocs Build"
- run: git push -u origin $PUBLISH_BRANCH -f - run: git push -u origin $PUBLISH_BRANCH -f