Skip to content

try to test be workflows #11

try to test be workflows

try to test be workflows #11

Workflow file for this run

name: Backend-cd
on:
pull_request:
types: [labeled]
jobs:
deploy-aws:
if: "${{ github.event.label.name == 'prod: backend' }}"
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Remove deploy label
uses: actions-ecosystem/action-remove-labels@v1
with:
labels: "prod: backend"
# - 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
# run: sudo docker-compose up -d
# run: sudo docker image prune -af