updates to build in gitea actions
Some checks failed
Build container images / build (push) Failing after 11s

This commit is contained in:
2023-08-18 17:29:24 -07:00
parent 3efd15fb6f
commit bf44753556
8 changed files with 184 additions and 44 deletions

View File

@@ -1,2 +1,25 @@
This doesn't work because the Dockerfile running `npm ci` does not have credentials to access private npm packages
Container image containing doc-utils
## Example use in Actions
```yaml
name: Build docs
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
container:
image: gitea.jbrumond.me/doc-utils/utils:0.1.1
steps:
- name: Check out the repo
uses: actions/checkout@v3
- name: Build docs to webpage
run: docs2website ./config.yaml
```