From f5c848f27dc7cfcb2ca0a1ca84c59959440b9ff6 Mon Sep 17 00:00:00 2001 From: igorkorenfeld Date: Wed, 14 Sep 2022 12:54:46 -0400 Subject: [PATCH] Add command to compile USWDS before deploy --- .github/workflows/deploy.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index 5c1a68ac6..47cf4a211 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -9,6 +9,7 @@ on: push: branches: - main + - ik/stable-uswds-assets tags: - v* @@ -24,6 +25,12 @@ jobs: 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 compile && + docker compose run node npx gulp - name: Deploy to cloud.gov sandbox uses: 18f/cg-deploy-action@main env: