SwapDude/.github/workflows/docker-deploy.yml
Lisoveliy 78302b59bd
Some checks failed
Deploy / update (push) Failing after 1s
Build Project .NET / build (push) Successful in 32s
fix: fix of pipeline (#3)
2025-07-07 18:41:47 +03:00

20 lines
434 B
YAML

name: Deploy
on:
push:
branches: [ "main" ]
jobs:
update:
runs-on: ubuntu-latest
steps:
- name: Update Git Repository
working-directory: ../../swapdude-stack
run: |
pwd
git fetch --all
git reset --hard origin/main
- name: Build & Deploy on docker-compose
working-directory: ../../swapdude-stack
run: |
docker compose up -d --build