fix: use awk to change public dir in env of the home fe repo v2 #11
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: Deploy CSlant Server | |
on: | |
push: | |
branches: [ "main" ] | |
jobs: | |
deploy: | |
runs-on: self-hosted | |
steps: | |
- name: Deploy to Remote Host | |
uses: appleboy/ssh-action@master | |
with: | |
host: ${{ secrets.REMOTE_HOST }} | |
username: ${{ secrets.REMOTE_USERNAME }} | |
password: ${{ secrets.REMOTE_PASS }} | |
key: ${{ secrets.SSH_PRIVATE_KEY }} | |
port: ${{ secrets.REMOTE_PORT }} | |
script: | | |
cd ${{ secrets.HOME_RUNNER_PATH }} | |
${{ secrets.HOME_RUNNER_SPECIAL_COMMAND }} |