Skip to content

ci: add staging environment #8

ci: add staging environment

ci: add staging environment #8

Workflow file for this run

name: Staging
on:
push:
branches:
- feat/staging
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Deploy to staging environment
uses: appleboy/[email protected]
env:
SHA: ${{ github.sha }}
with:
host: publisher.podlove.dev
username: root
key: ${{ secrets.STAGING_SSH_KEY }}
envs: SHA
script: |
cd app
git fetch
git reset --hard $SHA
devbox install
devbox run build
devbox services down
devbox services up