This repository has been archived by the owner on Feb 1, 2024. It is now read-only.
1.1.2 fix notification issue #45
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Deploy | |
uses: appleboy/ssh-action@master | |
with: | |
host: ${{ secrets.SERVER_HOST }} | |
username: ${{ secrets.SERVER_USERNAME }} | |
password: ${{ secrets.SERVER_PASSWORD }} | |
port: ${{ secrets.SSH_PORT }} | |
script: | | |
ls | |
cd ${{ secrets.SERVER_PULL_DIR }} | |
git checkout . | |
git pull origin main | |
cp core.sk ${{ secrets.SERVER_DEPLOY_DIR }} |