-
Notifications
You must be signed in to change notification settings - Fork 14
26 lines (23 loc) · 931 Bytes
/
main.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
# Current Version: 1.0.5
name: Build & Release hezhijie0327/Trackerslist
on:
push:
branches: [main]
schedule:
- cron: "0 0 * * *"
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Step 1 - Checkout
uses: actions/checkout@v4
- name: Step 2 - Install nmap
run: |
sudo apt install nmap -y
- name: Step 3 - Build Trackerslist
run: |
curl -s "https://raw.githubusercontent.com/hezhijie0327/Trackerslist/source/release.sh" | sudo bash
- name: Step 4 - Release Trackerslist
run: |
curl -s "https://raw.githubusercontent.com/hezhijie0327/Toolkit/main/Git.sh" > "/tmp/Git.sh"
sudo bash "/tmp/Git.sh" -u "hezhijie0327" -e "[email protected]" -f "." -r "Trackerslist" -i "Generated by GitHub Actions" -m "push"