Skip to content

Merge pull request #16 from ARCv3/main #2

Merge pull request #16 from ARCv3/main

Merge pull request #16 from ARCv3/main #2

Workflow file for this run

name: ssh-deploy-prod
on:
push:
branches:
- live
permissions:
contents: read
jobs:
ssh-deploy-prod:
runs-on: ubuntu-latest
environment: LIVE
steps:
- name: ssh-deploy
uses: appleboy/[email protected]
with:
host: ${{ secrets.SSH_HOST }}
username: ${{ secrets.SSH_USER }}
password: ${{ secrets.SSH_PASSWORD }}
port: ${{ secrets.SSH_PORT }}
script: cd ${{ vars.ENV }} && echo ${{ secrets.SSH_PASSWORD}} | sudo -S ./deploy.sh