Skip to content

v1.1.5

v1.1.5 #7

Workflow file for this run

name: Deploy - Prod
on:
release:
types: [ published ]
jobs:
deploy-prod:
name: Deploy to production
runs-on: ubuntu-latest
environment: Production
steps:
- name: Run remote script
uses: appleboy/[email protected]
env:
DEPLOY_SHA: ${{ github.sha }}
with:
host: zeragamba.art
port: 22
username: zeradraws
key: ${{ secrets.DEPLOY_KEY }}
envs: DEPLOY_SHA
script_stop: true
script: |
cd /opt/apps/zeragamba.art
git fetch
git checkout $DEPLOY_SHA
./deploy.sh