Skip to content

Commit

Permalink
Update develop.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
AndresAcostaCruz authored Sep 26, 2024
1 parent 362f07d commit 26c3ff8
Showing 1 changed file with 2 additions and 13 deletions.
15 changes: 2 additions & 13 deletions .github/workflows/develop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,17 +42,6 @@ jobs:
source: ${{ github.sha }}.tar.gz
target: /tmp/artifacts


- name: copy file via ssh password
uses: appleboy/scp-action@master
with:
host: ${{ secrets.SERVER_IP }}
username: ${{ secrets.SERVER_USERNAME }}
password: ${{ secrets.SERVER_PASSWORD }}
port: ${{ secrets.SERVER_PORT }}
source: "phpdocxconfig.ini"
target: /var/www/html/vendor/

- name: Extract files and create directories
uses: appleboy/ssh-action@master
env:
Expand All @@ -64,8 +53,8 @@ jobs:
username: ${{ secrets.SERVER_USERNAME }}
password: ${{ secrets.SERVER_PASSWORD }}
port: ${{ secrets.SERVER_PORT }}
#source: "phpdocxconfig.ini"
#target: /var/www/html/vendor/phpdocx/config/
source: "phpdocxconfig.ini"
target: /var/www/html/vendor/phpdocx/config/
envs: GITHUB_SHA, SERVER_PASSWORD, LARAVEL_ENV
script: |
# Create a new directory
Expand Down

0 comments on commit 26c3ff8

Please sign in to comment.