deploy-static-site¶
Reusable workflow — deploy-static-site.
Inputs¶
Input |
Type |
Required |
Default |
Description |
|---|---|---|---|---|
|
|
yes |
— |
Deployment tier to roll out (e.g. prod, staging). Must have a matching DEPLOY_CONFIG_ |
|
|
no |
|
Directory of the frontend workspace (install + build run here). |
|
|
no |
|
Shell that builds the site into dist-dir. |
|
|
no |
|
Package manager for install + caching (yarn or npm). npm keys the cache off package-lock.json and installs with |
|
|
no |
|
Built static output to upload, relative to working-directory. |
Usage¶
jobs:
deploy:
uses: FSHTech/github-actions/.github/workflows/deploy-static-site.yml@v1
with:
environment: ...