Files
online-energieausweis/.github/workflows/dev-pipeline.yml
Moritz Utcke e3f7214af2 Github
2025-03-20 11:06:41 -03:00

28 lines
645 B
YAML

name: Dev Pipeline
on:
pull_request:
branches: [main]
push:
branches: [main]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: appleboy/ssh-action@master
with:
host: ${{ secrets.DEV_HOST }}
username: ${{ secrets.DEV_USERNAME }}
password: ${{ secrets.DEV_PASSWORD }}
port: 22
script: |
bash -l -c "
cd ~/online-energieausweis
git reset --hard origin/main
git clean -f -d
git pull origin main
git status
make prod
"