Skip to content

Commit

Permalink
fixed: deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
eustahc committed Jul 19, 2024
1 parent f2f1e63 commit 212547c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ PROJECT="ZentinelJS"
REPOSITORY="https://github.com/surelle-ha/ZentinelJS"
BRANCH="main"
DIRECTORY="/var/www/html"
DEPENDENCY="wget curl git btop nodejs npm figlet"
DEPENDENCY="wget curl git btop nodejs npm figlet xclip"

# PREPARE
if ! sudo apt install $DEPENDENCY; then
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ jobs:
- name: Deploy to server
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.DEV_HOST }}
username: ${{ secrets.DEV_USERNAME }}
port: ${{ secrets.DEV_PORT }}
key: ${{ secrets.DEV_SSHKEY }}
host: "206.189.42.55"
username: "root"
password: "iIzukishun@30i"
port: "22"
script: |
#!/usr/bin/env bash
Expand All @@ -28,7 +28,7 @@ jobs:
REPOSITORY="https://github.com/surelle-ha/ZentinelJS"
BRANCH="main"
DIRECTORY="/var/www/html"
DEPENDENCY="wget curl git btop nodejs npm figlet"
DEPENDENCY="wget curl git btop nodejs npm figlet xclip"
# PREPARE
if ! sudo apt install $DEPENDENCY; then
Expand Down

0 comments on commit 212547c

Please sign in to comment.