updates to build in gitea actions
Some checks failed
Build container images / build (push) Failing after 11s
Some checks failed
Build container images / build (push) Failing after 11s
This commit is contained in:
25
readme.md
25
readme.md
@@ -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
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user