Skip to content

Commit

Permalink
test pepiline
Browse files Browse the repository at this point in the history
  • Loading branch information
BdsOliveira committed Feb 20, 2024
1 parent ab3f994 commit ff59458
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,3 +51,36 @@ jobs:

- name: Test with phpunit
run: vendor/bin/phpunit --testdox

deploy-develop:
name: Deploy to dev Enviroment
runs-on: ubuntu-latest
needs: deploy-develop
environment:
name: develop
url: 'pepilinedevelop.${{ secrets.FTP_HOST }}'
steps:
- name: Deploy
run: echo "Deploying to develop environment"

deploy-homologacao:
name: Deploy to hmg Enviroment
runs-on: ubuntu-latest
needs: deploy-develop
environment:
name: homologacao
url: 'pepilinehomologacao.${{ secrets.FTP_HOST }}'
steps:
- name: Deploy
run: echo "Deploying to homologacao environment"

deploy-producao:
name: Deploy to prod Enviroment
runs-on: ubuntu-latest
needs: deploy-homologacao
environment:
name: production
url: ${{ secrets.FTP_HOST }}
steps:
- name: Deploy
run: echo "Deploying to production environment"

0 comments on commit ff59458

Please sign in to comment.