Добавить 3proxy к squid
Deploy ru-vps / deploy (push) Failing after 20s

This commit is contained in:
Dmitry
2026-06-08 18:55:05 +03:00
parent c0cd22a73a
commit 322bfa9513
3 changed files with 47 additions and 21 deletions
+26 -21
View File
@@ -1,28 +1,33 @@
name: Deploy ru-vps
on:
workflow_dispatch:
inputs:
stack:
description: "Stack to deploy (leave empty to reconcile all)"
required: false
workflow_dispatch:
inputs:
stack:
description: "Stack to deploy (leave empty to reconcile all)"
required: false
push:
paths:
- ".gitea/workflows/deploy-ru-vps.yml"
- "ru-vps/**"
schedule:
- cron: "0 4 * * *"
push:
paths:
- ".gitea/workflows/deploy-ru-vps.yml"
- "ru-vps/**"
schedule:
- cron: "0 4 * * *"
jobs:
deploy:
runs-on: ru-vps
steps:
- name: Sync repo
run: |
git config --global --replace-all safe.directory /opt/services
git -C /opt/services pull origin main --ff-only
chown -R 1000:100 /opt/services
deploy:
runs-on: ru-vps
steps:
- name: Sync repo
run: |
git config --global --replace-all safe.directory /opt/services
git -C /opt/services pull origin main --ff-only
chown -R 1000:100 /opt/services
- name: Deploy stacks
run: /opt/services/scripts/deploy.sh ru-vps "${{ inputs.stack }}"
- name: Write squid secrets
run: |
echo "PROXY_USER=${{ secrets.PROXY_USER }}" > /opt/services/ru-vps/squid/.env
echo "PROXY_PASS=${{ secrets.PROXY_PASS }}" >> /opt/services/ru-vps/squid/.env
- name: Deploy stacks
run: /opt/services/scripts/deploy.sh ru-vps "${{ inputs.stack }}"