This repository was archived by the owner on Mar 19, 2026. It is now read-only.
Update runner OS #89
This file contains hidden or 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
| name: CI | |
| on: | |
| push: | |
| branches: | |
| - master | |
| - deploy | |
| pull_request: | |
| branches: | |
| - master | |
| jobs: | |
| test: | |
| name: Run tests | |
| runs-on: ubuntu-22.04 | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Build containers and run tests | |
| run: | | |
| docker compose -f docker-compose.yml -f tests/docker-compose.yml run --rm app | |
| deploy: | |
| if: | |
| contains(' | |
| refs/heads/master | |
| refs/heads/deploy | |
| ', github.ref) | |
| needs: test | |
| name: Deploy to AWS | |
| runs-on: ubuntu-22.04 | |
| steps: | |
| - uses: aws-actions/configure-aws-credentials@v1 | |
| with: | |
| aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} | |
| aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} | |
| aws-region: us-east-1 | |
| - uses: actions/checkout@v2 | |
| - id: deploy | |
| uses: webfactory/create-aws-codedeploy-deployment@0d7a684950dae16883a140dd950257958730e0b5 | |
| with: | |
| application: bga-payroll |