Skip to content

Commit

Permalink
3rd try....
Browse files Browse the repository at this point in the history
  • Loading branch information
shammy642 committed Feb 16, 2024
1 parent 6091b25 commit 045a3d3
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -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/[email protected]
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.
- name: Checkout code
uses: actions/checkout@v4

- name: Install
run: npm install

- name: Run Typecheck
run: npm run typecheck

0 comments on commit 045a3d3

Please sign in to comment.