Skip to content

Commit

Permalink
Update deploy-main.yml, add the new environment variables
Browse files Browse the repository at this point in the history
update the pipeline CICD to add the new environment variables (test)
  • Loading branch information
DiegoAndresRamirez authored Nov 28, 2024
1 parent 3dfef18 commit 3576c35
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/deploy-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,13 @@ jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: executing remote ssh commands using password
- name: Executing remote ssh commands using password
uses: appleboy/ssh-action@v0.1.6
with:
host: ${{ secrets.SERVER_HOST }}
username: ${{ secrets.SERVER_USER }}
key: ${{ secrets.SERVER_SSH_KEY }}
host: ${{ secrets.HOST_SERVER }}
username: ${{ secrets.USERNAME_SERVER }}
password: ${{ secrets.PASSWORD_SERVER }}
port: ${{ secrets.PORT_SERVER }}
script: |
cd "${{ secrets.PATH }}"
git pull origin main
Expand All @@ -22,4 +23,4 @@ jobs:
composer i
composer dump-autoload
php artisan migrate:fresh --seed
php artisan optimize:clear
php artisan optimize:clear

0 comments on commit 3576c35

Please sign in to comment.