Skip to content

Commit

Permalink
ci/cd
Browse files Browse the repository at this point in the history
  • Loading branch information
Jinsoo1004 committed Oct 26, 2023
1 parent b61d79e commit 09caa03
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,15 +45,6 @@ jobs:
runs-on: ubuntu-22.04

steps:
- name: delete all file
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.WEB_HOST_ID }}
username: ${{ secrets.SSH_USER }}
key: ${{ secrets.PRIVATE_KEY }}
script: |
find . -type f ! -name "deploy.sh" -exec rm -f {} +
- name: Download artifact
uses: actions/download-artifact@v2
with:
Expand All @@ -75,4 +66,4 @@ jobs:
username: ${{ secrets.SSH_USER }}
key: ${{ secrets.PRIVATE_KEY }}
script: |
sh /home/ubuntu/deploy.sh
sh /home/ubuntu/deploy/deploy.sh

0 comments on commit 09caa03

Please sign in to comment.