Skip to content

ci: add staging environment #4

ci: add staging environment

ci: add staging environment #4

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]
with:
host: publisher.podlove.dev
username: root
key: ${{ secrets.STAGING_SSH_KEY }}
script: |

Check failure on line 17 in .github/workflows/staging.yml

View workflow run for this annotation

GitHub Actions / Staging

Invalid workflow file

The workflow is not valid. .github/workflows/staging.yml (Line: 17, Col: 18): Unrecognized named-value: 'GITHUB_SHA'. Located at position 1 within expression: GITHUB_SHA
cd app
git fetch
git reset --hard ${{ GITHUB_SHA }}
devbox install
devbox run build
devbox services down
devbox services up