Skip to content

Commit

Permalink
Add GHA workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ernest-tpximpact committed May 13, 2024
1 parent d722ce1 commit 83d6021
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/deploy-to-dev.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Deploy To Development
on: [workflow_dispatch]

jobs:
deploy:
runs-on: ubuntu-latest
environment: development
# env:
steps:
- uses: actions/checkout@v4

- run: |
curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
unzip -q awscliv2.zip
sudo ./aws/install --update
sudo apt-get update
sudo apt-get install -y rsync
- uses: aws-actions/configure-aws-credentials@v1-node16
with:
aws-access-key-id: ${{ secrets.DEPLOY_AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.DEPLOY_AWS_SECRET_ACCESS_KEY }}
aws-region: eu-west-2

0 comments on commit 83d6021

Please sign in to comment.