Skip to content

try to test be workflows #7

try to test be workflows

try to test be workflows #7

Workflow file for this run

name: Production
on:
pull_request:
types: [labeled]
jobs:
deploy-backend:
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"
deploy-aws:
runs-on: aws-nft
steps:
- name: Deploy to EC2 instance
run: sudo docker-compose stop
run: sudo docker-compose rm -f

Check failure on line 26 in .github/workflows/production.yml

View workflow run for this annotation

GitHub Actions / Production

Invalid workflow file

The workflow is not valid. .github/workflows/production.yml (Line: 26, Col: 9): 'run' is already defined .github/workflows/production.yml (Line: 27, Col: 9): 'run' is already defined
run: sudo docker-compose pull
run: sudo docker-compose up -d
run: sudo docker image prune -af