Docker Deploying Instructions #27
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: remote ssh command | |
# on: [push] | |
# jobs: | |
# build: | |
# name: Build React on remote server | |
# runs-on: ubuntu-latest | |
# steps: | |
# - name: executing remote ssh commands using password | |
# uses: appleboy/ssh-action@v1.0.0 | |
# with: | |
# host: ${{ secrets.HOST }} | |
# username: ${{ secrets.USERNAME }} | |
# password: ${{ secrets.PASSWORD }} | |
# port: ${{ secrets.PORT }} | |
# script: | | |
# rm -r /home/harshal/React-TrashMail/mailserver/build | |
# cd /home/harshal/React-TrashMail/react && yarn && yarn build |