docs: add node alpine alternative to GitLab CI deploy (#1813)

pull/1930/head
aendre 2 years ago committed by GitHub
parent dd1f0bf774
commit ea4556febc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -139,6 +139,25 @@ Don't enable options like _Auto Minify_ for HTML code. It will remove comments f
- main
```
4. Alternatively, if you want to use an _alpine_ version of node, you have to install `git` manually. In that case, the code above modifies to this:
```yaml
image: node:16-alpine
pages:
cache:
paths:
- node_modules/
before_script:
- apk add git
script:
- yarn install
- yarn docs:build
artifacts:
paths:
- public
only:
- main
```
## Azure Static Web Apps
1. Follow the [official documentation](https://docs.microsoft.com/en-us/azure/static-web-apps/build-configuration).

Loading…
Cancel
Save