Skip to content

Merge pull request #37 from ARCv3/ARC-025-unity-staging-beta #26

Merge pull request #37 from ARCv3/ARC-025-unity-staging-beta

Merge pull request #37 from ARCv3/ARC-025-unity-staging-beta #26

Workflow file for this run

name: ssh-deploy
on:
push:
branches:
- main
permissions:
contents: read
jobs:
ssh-deploy-stg:
runs-on: ubuntu-latest
environment: STAGE
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-stg.sh