This repository has been archived by the owner on Aug 30, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 67
66 lines (58 loc) · 1.67 KB
/
php.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
name: "Let's TVC!"
on:
workflow_dispatch:
schedule:
- cron: '*/60 * * * *'
concurrency:
group: "pages"
cancel-in-progress: false
jobs:
tvc-full:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v2
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '7.4'
- name: Execute PHP script
run: |
php get.php
php channelsAssets.php
php duplicate.php
php sort.php
php toSingbox.php
php toClashSurfboard.php
php hiddifyWarp.php
git config --global user.email "yebekhe@gmail.com"
git config --global user.name "yebekhe"
git config credential.helper store
git add -A
git commit -m "🚀 Servers Updated - $(TZ='Asia/Tehran' date '+%Y-%m-%d %H:%M:%S')"
git push
tvc-lite:
runs-on: ubuntu-latest
needs: tvc-full
steps:
- name: Checkout Code
uses: actions/checkout@v2
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '7.4'
- name: Execute PHP script
run: |
git pull
cd lite
php get.php
php duplicate.php
php sort.php
php toSingbox.php
php toClashSurfboard.php
git config --global user.email "yebekhe@gmail.com"
git config --global user.name "yebekhe"
git config credential.helper store
git add -A
git commit -m "🚀 Servers Updated - $(TZ='Asia/Tehran' date '+%Y-%m-%d %H:%M:%S')"
git push