From 3e9ce10dc3087e1bbfd5f9044cc7a8fb32ace292 Mon Sep 17 00:00:00 2001 From: Mohammad Sajad Pourajam Date: Sat, 21 Mar 2026 18:23:02 +0330 Subject: [PATCH] CI/CD --- .gitea/workflows/frontend.yml | 40 +++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/.gitea/workflows/frontend.yml b/.gitea/workflows/frontend.yml index 321f0cd..3b6523d 100644 --- a/.gitea/workflows/frontend.yml +++ b/.gitea/workflows/frontend.yml @@ -19,8 +19,48 @@ jobs: runs-on: self-hosted container: image: mirror2.chabokan.net/ubuntu:24.04 + options: --add-host gitea:172.17.0.1 steps: + - name: Setup Ubuntu apt mirrors + run: | + tee /etc/apt/sources.list > /dev/null <<'EOF' + deb https://mirror-linux.runflare.com/ubuntu/ noble main restricted universe multiverse + deb https://mirror-linux.runflare.com/ubuntu/ noble-updates main restricted universe multiverse + deb https://mirror-linux.runflare.com/ubuntu/ noble-backports main restricted universe multiverse + deb https://mirror-linux.runflare.com/ubuntu/ noble-security main restricted universe multiverse + + + deb [trusted=yes] https://mirror2.chabokan.net/ubuntu noble main universe + deb [trusted=yes] https://mirror2.chabokan.net/ubuntu noble-updates main universe + deb [trusted=yes] https://mirror2.chabokan.net/ubuntu noble-security main universe + + + deb http://mirror.iranserver.com/ubuntu/ noble main restricted + deb-src http://mirror.iranserver.com/ubuntu/ noble main restricted + + + deb http://mirror.iranserver.com/ubuntu/ noble-updates main restricted + deb-src http://mirror.iranserver.com/ubuntu/ noble-updates main restricted + + + deb http://mirror.iranserver.com/ubuntu/ noble universe + deb-src http://mirror.iranserver.com/ubuntu/ noble universe + deb http://mirror.iranserver.com/ubuntu/ noble-updates universe + + + deb http://mirror.iranserver.com/ubuntu/ noble multiverse + deb-src http://mirror.iranserver.com/ubuntu/ noble multiverse + deb http://mirror.iranserver.com/ubuntu/ noble-updates multiverse + deb-src http://mirror.iranserver.com/ubuntu/ noble-updates multiverse + + + deb http://mirror.iranserver.com/ubuntu/ noble-backports main restricted universe multiverse + deb-src http://mirror.iranserver.com/ubuntu/ noble-backports main restricted universe multiverse + + EOF + apt-get update + - name: Setup SSH key run: |