Skip to content

Commit

Permalink
chore: workflow 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
GGos3 committed Aug 20, 2024
1 parent a6a90a3 commit d91d815
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
SERVER_PORT: ${{ secrets.SERVER_PORT }}
SERVER_USER: ${{ secrets.SERVER_USER }}
run: |
ssh -o StrictHostKeyChecking=no -p "$SERVER_PORT" "$SERVER_USER@$SERVER_IP" << 'EOF'
ssh -t -o StrictHostKeyChecking=no -p "$SERVER_PORT" "$SERVER_USER@$SERVER_IP" << 'EOF'
cd ~/blog
rm -rf * # Remove all files and directories in the blog directory
git fetch origin publish
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/gatsby-build.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Gatsby Build and Publish
name: Gatsby Build and Push To Publish Branch

on:
push:
Expand Down

0 comments on commit d91d815

Please sign in to comment.