Merge pull request #99 from 18F/nmb/88-who #10
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This workflow runs on all merges to main | |
name: Deploy main after each merge | |
on: | |
push: | |
paths-ignore: | |
- '**.md' | |
- '.gitignore' | |
branches: | |
- main | |
jobs: | |
deploy-main: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v4 | |
- name: Install node dependencies | |
run: npm ci | |
- name: Build with Eleventy | |
run: npm run build | |
- name: Compile USWDS | |
run: npx gulp compile | |
- name: Deploy to cloud.gov | |
uses: cloud-gov/cg-cli-tools@main | |
with: | |
cf_username: ${{ secrets.CF_USERNAME }} | |
cf_password: ${{ secrets.CF_PASSWORD }} | |
cf_org: sandbox-gsa | |
cf_space: neil.martinsen-burrell | |
cf_manifest: "ops/manifests/manifest.yaml" |