mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-21 18:25:58 +02:00
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:
parent
d3b9a993cd
commit
5328285633
2 changed files with 9 additions and 0 deletions
5
.github/workflows/deploy.yaml
vendored
5
.github/workflows/deploy.yaml
vendored
|
@ -4,8 +4,13 @@ name: Build and deploy
|
||||||
# a merged pull request) and on pushes of tagged commits.
|
# a merged pull request) and on pushes of tagged commits.
|
||||||
|
|
||||||
# Pushes to main will deploy to Staging
|
# Pushes to main will deploy to Staging
|
||||||
|
# This will also deploy nightly
|
||||||
|
|
||||||
on:
|
on:
|
||||||
|
schedule:
|
||||||
|
# 3am UTC
|
||||||
|
- cron: '0 3 * * *'
|
||||||
|
|
||||||
push:
|
push:
|
||||||
paths-ignore:
|
paths-ignore:
|
||||||
- 'docs/**'
|
- 'docs/**'
|
||||||
|
|
|
@ -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).
|
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`.
|
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).
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue