Skip to content

Commit

Permalink
Updated 2025-03-05 22:26 +0330
Browse files Browse the repository at this point in the history
  • Loading branch information
soroushmirzaei committed Mar 5, 2025
0 parents commit c1bb6a1
Show file tree
Hide file tree
Showing 39 changed files with 13,639 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
custom: daramet.com/soroushmirzaei
60 changes: 60 additions & 0 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
name: Execute On Push

on:
push:
branches:
- main

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest
steps:

- name: Checkout Repository Contents
uses: actions/checkout@v4

- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: '3.11' #Install Latest Python

- name: Install Python Packages Requirements
run: |
python -m pip install --upgrade pip
pip install -r requirements
- name: Execute Python Script
run: python main.py

- name: Commit Files
run: |
git config --local user.email "[email protected]"
git config --local user.name "Soroush Mirzaei"
git add -A
git diff-index --quiet HEAD || (git commit -a -m "Updated $(TZ='Asia/Tehran' date '+%Y-%m-%d %H:%M %Z')" --allow-empty)
- name: Push Changes
uses: ad-m/[email protected]
with:
github_token: ${{ secrets.TG_PRXY_CLCT }}
branch: main

- name: Clean Up Files
run: |
git checkout --orphan latest_branch
git config --local user.email "[email protected]"
git config --local user.name "Soroush Mirzaei"
git add -A
git commit -am "Updated $(TZ='Asia/Tehran' date '+%Y-%m-%d %H:%M %Z')"
git branch -D main
git branch -m main
git push -f origin main
- name: Push Changes
uses: ad-m/[email protected]
with:
github_token: ${{ secrets.TG_PRXY_CLCT }}
branch: main
58 changes: 58 additions & 0 deletions .github/workflows/schedule.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
name: Execute On Schedule

on:
schedule:
- cron: '30 */1 * * *' # Executes at 25 minutes past the hour, every 2 hours.

jobs:
build:
runs-on: ubuntu-latest
steps:

- name: Checkout Repository Contents
uses: actions/checkout@v4

- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: '3.12'

- name: Install Python Packages Requirements
run: |
python -m pip install --upgrade pip
pip install -r requirements
- name: Execute Python Script
env:
SOME_SECRET: ${{ secrets.SOME_SECRET }}
run: python main.py

- name: Commit Files
run: |
git config --local user.email "[email protected]"
git config --local user.name "Soroush Mirzaei"
git add -A
git diff-index --quiet HEAD || (git commit -a -m "Updated $(TZ='Asia/Tehran' date '+%Y-%m-%d %H:%M %Z')" --allow-empty)
- name: Push Changes
uses: ad-m/[email protected]
with:
github_token: ${{ secrets.TG_PRXY_CLCT }}
branch: main

- name: Clean Up Files
run: |
git checkout --orphan latest_branch
git config --local user.email "[email protected]"
git config --local user.name "Soroush Mirzaei"
git add -A
git commit -am "Updated $(TZ='Asia/Tehran' date '+%Y-%m-%d %H:%M %Z')"
git branch -D main
git branch -m main
git push -f origin main
- name: Push Changes
uses: ad-m/[email protected]
with:
github_token: ${{ secrets.TG_PRXY_CLCT }}
branch: main
44 changes: 44 additions & 0 deletions .github/workflows/static.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# Simple workflow for deploying static content to GitHub Pages
name: Deploy Content To Page

on:
workflow_run:
workflows: ["Execute On Schedule", "Execute On Push"]
types:
- completed

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write

# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
concurrency:
group: "pages"
cancel-in-progress: false

jobs:
# Single deploy job since we're just deploying
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Pages
uses: actions/configure-pages@v3
- name: Upload artifact
uses: actions/upload-pages-artifact@v2
with:
# Upload entire repository
path: '.'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2
3 changes: 3 additions & 0 deletions countries/ae/proxies
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
LATEST UPDATE: WED-15-ESFAND-1403 22:26 UTC+03:30

tg://proxy?server=45.88.8.196&port=443&secret=ee32b920dffb51643028e2f6b878d4eac17777772e7370656564746573742e6e6574
3 changes: 3 additions & 0 deletions countries/cy/proxies
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
LATEST UPDATE: MON-13-ESFAND-1403 21:18 UTC+03:30

tg://proxy?server=45.12.132.59&port=2087&secret=7k-y0D_Rza24CV_TvOtn0hB6dWxhLmly
Loading

0 comments on commit c1bb6a1

Please sign in to comment.