Skip to content

Merge branch 'refs/heads/main' into stable #6

Merge branch 'refs/heads/main' into stable

Merge branch 'refs/heads/main' into stable #6

Workflow file for this run

name: Deploy - Prod
on:
push:
branches:
- stable
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