mirror of
https://github.com/cathugger/mkp224o.git
synced 2025-04-22 14:59:11 +00:00
Upload Gen.yml
This commit is contained in:
parent
5e9d42f340
commit
64dedde600
1 changed files with 3 additions and 3 deletions
6
.github/workflows/Gen.yml
vendored
6
.github/workflows/Gen.yml
vendored
|
@ -13,20 +13,20 @@ jobs:
|
|||
uses: actions/checkout@v3
|
||||
|
||||
- name: Install dependencies
|
||||
working-directory: mkp224o
|
||||
working-directory: Onion_Gen
|
||||
run: |
|
||||
sudo apt update
|
||||
sudo apt install gcc libc6-dev libsodium-dev make autoconf -y
|
||||
|
||||
- name: Build project
|
||||
working-directory: mkp224o
|
||||
working-directory: Onion_Gen
|
||||
run: |
|
||||
./autogen.sh
|
||||
./configure
|
||||
make
|
||||
|
||||
- name: Generate domain name
|
||||
working-directory: mkp224o
|
||||
working-directory: Onion_Gen
|
||||
run: |
|
||||
# 使用 secret 变量替换 -n 的值和最后一个参数
|
||||
./mkp224o -n ${{ secrets.GEN_NUMBER }} -d /var/lib/tor/ ${{ secrets.DOMAIN_NAME }}
|
||||
|
|
Loading…
Add table
Reference in a new issue