Skip to content

Commit

Permalink
feat: add script on workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
BdsOliveira committed Feb 21, 2024
1 parent b951fd9 commit b3c571b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
fail-fast: false
matrix:
operating-system: [ubuntu-latest, windows-latest, macos-latest]
php-versions: ['8.1', '8.2', '8.3']
php-versions: ["8.1", "8.2", "8.3"]

steps:
- name: Checkout
Expand Down Expand Up @@ -83,7 +83,7 @@ jobs:
port: ${{ secrets.PORT }}
script: |
cd ${{ vars.SERVER_DIR }}
composer update
chmod +x script.sh && ./script.sh
deploy-homologacao:
name: Deploy to hmg Enviroment
Expand Down Expand Up @@ -116,7 +116,7 @@ jobs:
port: ${{ secrets.PORT }}
script: |
cd ${{ vars.SERVER_DIR }}
composer update
chmod +x script.sh && ./script.sh
deploy-producao:
name: Deploy to prod Enviroment
Expand Down Expand Up @@ -149,4 +149,4 @@ jobs:
port: ${{ secrets.PORT }}
script: |
cd ${{ vars.SERVER_DIR }}
composer update
chmod +x script.sh && ./script.sh

0 comments on commit b3c571b

Please sign in to comment.