Skip to content

Commit

Permalink
ci: add staging environment
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-heimbuch committed Apr 11, 2024
1 parent 391272e commit 92ef633
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,17 @@ jobs:
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 ${GITHUB_SHA}
git reset --hard $GITHUB_SHA
devbox install
devbox run build
devbox services down
Expand Down

0 comments on commit 92ef633

Please sign in to comment.