From 045a3d3648a8cc8b61177b3025cba619a28d0b30 Mon Sep 17 00:00:00 2001 From: shammy642 Date: Fri, 16 Feb 2024 15:27:43 +0000 Subject: [PATCH] 3rd try.... --- .github/workflows/main.yml | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index a840037..d126518 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,16 +1,18 @@ name: Basic deploy on: push: - branches: [ main ] + branches: + - main # Set a branch to deploy when pushed jobs: - EC2-Deploy: + deploy: runs-on: ubuntu-latest steps: - - id: deploy - uses: shammy642/MusicTheory@v1.0.0 - with: - aws_access_key_id: ${{ secrets.AWS_ACCESS_KEY_ID }} - aws_secret_access_key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} - aws_default_region: eu-west-2 - aws_elb_app_port: 8080 # This should match the docker exposed port. Defaults to 3000. \ No newline at end of file + - name: Checkout code + uses: actions/checkout@v4 + + - name: Install + run: npm install + + - name: Run Typecheck + run: npm run typecheck