Skip to content

updated comment

updated comment #26

Workflow file for this run

# This workflow runs on pushes of tagged commits.
# "Releases" of tagged commits will deploy selected branch to stable.
name: Build and deploy stable for tagged release
on:
push:
paths-ignore:
- 'docs/**'
tags:
- v*
jobs:
deploy-stable:
if: ${{ github.ref_type == 'tag' }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Compile USWDS assets
working-directory: ./src
run: |
docker compose run node npm install &&
docker compose run node npx gulp copyAssets &&
docker compose run node npx gulp compile
- name: Collect static assets
working-directory: ./src
run: docker compose run app python manage.py collectstatic
- name: Deploy to cloud.gov sandbox
uses: 18f/cg-deploy-action@main
env:
DEPLOY_NOW: thanks
with:
cf_username: ${{ secrets.CF_STABLE_USERNAME }}
cf_password: ${{ secrets.CF_STABLE_PASSWORD }}
cf_org: cisa-getgov-prototyping
cf_space: stable
push_arguments: "-f ops/manifests/manifest-stable.yaml"