Skip to content

Commit

Permalink
Create deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
emanuelpinheiro committed May 18, 2024
1 parent 43b9060 commit 935f342
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Deploy com Docker Compose

on:
workflow_dispatch:
push:
branches:
- main

jobs:
build-and-deploy:
runs-on:
- self-hosted

steps:
- name: Fazer checkout do código
uses: actions/checkout@v2
continue-on-error: false

- name: Configurar Docker Buildx
uses: docker/setup-buildx-action@v2

- name: Implantar com Docker Compose
run: |
docker compose build
docker compose up -d

0 comments on commit 935f342

Please sign in to comment.