Skip to content

Commit

Permalink
2024-12-25 13:39:21
Browse files Browse the repository at this point in the history
  • Loading branch information
JQiue committed Dec 25, 2024
1 parent 6f9cf34 commit ba6b810
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
branches:
- master
jobs:
push:
build:
runs-on: ubuntu-latest
steps:
- name: Install node environment
Expand All @@ -31,7 +31,11 @@ jobs:
git commit -m 'deploy'
git checkout -b deploy
git push -f https://${{secrets.ACCESS_TOKN}}@github.com/JQiue/jqiue-notes.git deploy
- name: Executing remote ssh commands using ssh key
deploy:
needs: build
runs-on: ubuntu-latest
steps:
- name: Deploy to server
uses: appleboy/ssh-action@v0.1.8
with:
host: ${{ secrets.HOST }}
Expand Down

0 comments on commit ba6b810

Please sign in to comment.