chore: add pipeline
dev / deploy (push) Failing after 1m27s

This commit is contained in:
Daniil
2026-04-29 23:48:19 +03:00
parent b9030a863e
commit 97705a23df
3 changed files with 91 additions and 0 deletions
+24
View File
@@ -0,0 +1,24 @@
name: dev
on:
push:
branches:
- master
workflow_dispatch:
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Write env file
env:
DEV_ENV: ${{ secrets.ENV_DEV }}
run: |
test -n "$ENV_DEV"
umask 077
printf '%s\n' "$ENV_DEV" > .env
- name: Deploy backend
run: docker compose -f docker-compose.dev.yml up -d --build --remove-orphans