Skip to content

Commit

Permalink
feat: CI/CD
Browse files Browse the repository at this point in the history
  • Loading branch information
kckc0608 authored Jun 16, 2024
1 parent 23813a8 commit 1da963e
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
on:
push:
branches:
- main

jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: ssh connect
uses: appleboy/[email protected]
with:
host: ${{ secrets.HOST }}
passphrase: ${{ secrets.PASSPHRASE }}
username: ${{ secrets.USERNAME }}
password: ${{ secrets.PASSWORD }}
key: ${{ secrets.KEY }}
script: |
cd html_link/introduce
git pull

0 comments on commit 1da963e

Please sign in to comment.