Skip to content

Merge pull request #7 from rrigato/dev #6

Merge pull request #7 from rrigato/dev

Merge pull request #7 from rrigato/dev #6

name: application pipeline
on:
push:
branches:
- master
jobs:
run-build-test:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
name: Build and tests application code and updates archives to s3
steps:
# confirms the value of ${{vars.PROJECT_NAME}} is 'burnday'
- name: validate-project-name
run: |
set -e
if [ "${{vars.PROJECT_NAME}}" != 'burnday' ]; then
echo "Project name is not 'burnday'"
exit 1
fi
- name: checkout-current-branch
uses: actions/checkout@v4
- name: Set up Python 3.11
uses: actions/setup-python@v2
with:
python-version: 3.11
- name: test-and-build-deployment-archive
shell: bash
env:
AWS_ACCOUNT_ID: ${{secrets.AWS_ACCOUNT_ID}}
PROJECT_NAME: ${{vars.PROJECT_NAME}}
REGION_NAME: ${{vars.REGION_NAME}}
run: 'scripts/burnday_build_test.sh'