Skip to content

Commit

Permalink
aws
Browse files Browse the repository at this point in the history
  • Loading branch information
Zafei-Erin committed Feb 21, 2024
1 parent 8da5a31 commit 192a5d9
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
types: [labeled]

jobs:
git:
deploy-aws:
if: "${{ github.event.label.name == 'prod: backend' }}"
runs-on: ubuntu-latest

Expand All @@ -17,12 +17,9 @@ jobs:
uses: actions-ecosystem/action-remove-labels@v1
with:
labels: "prod: backend"

aws:
needs: git
runs-on: aws-nft
steps:

- name: Deploy to EC2 instance
runs-on: aws-nft
run: sudo docker-compose stop
run: sudo docker-compose rm -f
run: sudo docker-compose pull
Expand Down

0 comments on commit 192a5d9

Please sign in to comment.