Add a nightly cron to our deploy action (#233)

* tmp

* add a cron to our deploy job

* add developer doc
This commit is contained in:
Logan McDonald 2022-11-09 09:19:43 -05:00 committed by GitHub
parent d3b9a993cd
commit 5328285633
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 0 deletions

View file

@ -4,8 +4,13 @@ name: Build and deploy
# a merged pull request) and on pushes of tagged commits.
# Pushes to main will deploy to Staging
# This will also deploy nightly
on:
schedule:
# 3am UTC
- cron: '0 3 * * *'
push:
paths-ignore:
- 'docs/**'

View file

@ -112,3 +112,7 @@ Within the `registrar/assets` folder, the `_theme` folder contains three files i
3. `styles.css` a entry point or index for the styles, forwards all of the other style files used in the project (i.e. the USWDS source code, the settings, and all custom stylesheets).
You can also compile the sass at any time using `npx gulp compile`. Similarly, you can copy over other static assets (images and javascript files), using `npx gulp copyAssets`.
## Nightly Builds
We run a deploy to staging from `main` nightly. You can see the deploys [here](https://github.com/cisagov/getgov/actions/workflows/deploy.yaml).