Merge pull request #2881 from LiteFarmOrg/LF-3586-make-the-revenue-ty… #507
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' | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- integration | |
concurrency: beta-deploy | |
jobs: | |
deploy: | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v3 | |
- name: Read deploy script contents | |
id: script | |
uses: juliangruber/read-file-action@v1 | |
with: | |
path: beta-deploy.sh | |
- name: Deploy over SSH | |
uses: appleboy/[email protected] | |
with: | |
script_stop: true | |
host: ${{ secrets.BETA_SSH_HOST }} | |
username: ${{ secrets.BETA_SSH_USER }} | |
passphrase: ${{ secrets.BETA_SSH_PASS }} | |
key: ${{ secrets.BETA_SSH_KEY }} | |
command_timeout: 20m | |
script: ${{ steps.script.outputs.content }} |