Compare commits

..

10 Commits

Author SHA1 Message Date
@kirill.komarov 8c7324c17f del gitea
ci/woodpecker/push/woodpecker Pipeline was successful
2026-06-17 21:54:39 +05:00
admin c7a64d98c0 fix: preserve db from --delete
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/manual/woodpecker Pipeline was successful
2026-06-17 15:25:34 +00:00
admin edc8606295 test: retry with npm install
ci/woodpecker/push/woodpecker Pipeline was successful
2026-06-17 13:44:23 +00:00
admin e021e4abd1 fix: use npm install instead of npm ci
ci/woodpecker/push/woodpecker Pipeline was canceled
2026-06-17 13:44:05 +00:00
admin de822e79a4 fix: use npm install instead of npm ci
ci/woodpecker/push/woodpecker Pipeline was canceled
2026-06-17 13:43:52 +00:00
admin 17ce1dc657 fix: use npm install instead of npm ci
ci/woodpecker/push/woodpecker Pipeline was canceled
2026-06-17 13:43:25 +00:00
admin aa44c265a9 fix: use npm install
ci/woodpecker/push/woodpecker Pipeline was canceled
2026-06-17 13:43:06 +00:00
admin f1d77f5105 test: trigger dev pipeline
ci/woodpecker/push/woodpecker Pipeline failed
2026-06-17 13:40:19 +00:00
admin 9cc89908d6 feat: add dev pipeline with branch-specific deploy 2026-06-17 13:27:27 +00:00
@kirill.komarov 5fd45dd0c2 del gitea 2026-06-17 14:05:10 +05:00
14 changed files with 20 additions and 16 deletions
+19 -3
View File
@@ -1,5 +1,4 @@
when: when:
branch: main
event: [push, manual] event: [push, manual]
steps: steps:
@@ -20,7 +19,7 @@ steps:
- cd client && npm run build - cd client && npm run build
depends_on: [install] depends_on: [install]
deploy: deploy-main:
image: alpine:latest image: alpine:latest
environment: environment:
DEPLOY_KEY: DEPLOY_KEY:
@@ -30,5 +29,22 @@ steps:
- mkdir -p /ssh - mkdir -p /ssh
- echo "$DEPLOY_KEY" > /ssh/deploy_key - echo "$DEPLOY_KEY" > /ssh/deploy_key
- chmod 600 /ssh/deploy_key - chmod 600 /ssh/deploy_key
- rsync -e "ssh -i /ssh/deploy_key -o StrictHostKeyChecking=no" -avz --delete client/dist/ root@192.168.1.88:/var/www/ - rsync -e "ssh -i /ssh/deploy_key -o StrictHostKeyChecking=no" -avz --delete --exclude '*.db' client/dist/ root@192.168.1.88:/var/www/
depends_on: [lint, build] depends_on: [lint, build]
when:
branch: main
deploy-dev:
image: alpine:latest
environment:
DEPLOY_KEY:
from_secret: deploy_key
commands:
- apk add --no-cache openssh rsync
- mkdir -p /ssh
- echo "$DEPLOY_KEY" > /ssh/deploy_key
- chmod 600 /ssh/deploy_key
- rsync -e "ssh -i /ssh/deploy_key -o StrictHostKeyChecking=no" -avz --delete --exclude '*.db' client/dist/ root@192.168.1.118:/var/www/
depends_on: [lint, build]
when:
branch: dev
@@ -86,7 +86,7 @@ const sections = [
export function PrivacyPolicyPage() { export function PrivacyPolicyPage() {
usePageTitle('Политика конфиденциальности') usePageTitle('Политика конфиденциальности')
// eslint-disable-next-line no-console // eslint-disable-next-line no-console
console.log('new deploy17') console.log('new deploy16')
return ( return (
<Box sx={{ maxWidth: 800, mx: 'auto', py: { xs: 3, md: 5 }, px: { xs: 2, md: 0 } }}> <Box sx={{ maxWidth: 800, mx: 'auto', py: { xs: 3, md: 5 }, px: { xs: 2, md: 0 } }}>
<Typography <Typography
-1
View File
@@ -1 +0,0 @@
t
-1
View File
@@ -1 +0,0 @@
test
-1
View File
@@ -1 +0,0 @@
t
-1
View File
@@ -1 +0,0 @@
t
-1
View File
@@ -1 +0,0 @@
t
-1
View File
@@ -1 +0,0 @@
t
-1
View File
@@ -1 +0,0 @@
t
-1
View File
@@ -1 +0,0 @@
t
-1
View File
@@ -1 +0,0 @@
t
-1
View File
@@ -1 +0,0 @@
t
-1
View File
@@ -1 +0,0 @@
t
-1
View File
@@ -1 +0,0 @@
t