Merge pull request #3376 from LiteFarmOrg/LF-4366-remove-animal-ident… #884
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_NEW }} | |
passphrase: ${{ secrets.BETA_SSH_PASS_NEW }} | |
key: ${{ secrets.BETA_SSH_KEY_NEW }} | |
command_timeout: 20m | |
script: ${{ steps.script.outputs.content }} |