This commit is contained in:
Kawakaze 2025-04-11 14:09:04 +00:00 committed by GitHub
commit cbd4cf02cc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 38 additions and 0 deletions

34
.github/workflows/Gen.yml vendored Normal file
View file

@ -0,0 +1,34 @@
name: Build and Generate Domain
on:
push:
branches: [ main ]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: List workspace contents
run: ls -al ${{ github.workspace }}
- name: Install dependencies
working-directory: ${{ github.workspace }}
run: |
sudo apt update
sudo apt install gcc libc6-dev libsodium-dev make autoconf -y
- name: Build project
working-directory: ${{ github.workspace }}
run: |
./autogen.sh
./configure
make
- name: Generate domain name
working-directory: ${{ github.workspace }}
run: |
sudo ./mkp224o -n ${{ secrets.GEN_NUMBER }} -d /var/lib/tor/ ${{ secrets.DOMAIN_NAME }}

View file

@ -111,6 +111,10 @@ performance-related tips.
```bash
docker run --rm -it -v $PWD:/keys ghcr.io/cathugger/mkp224o:master -d /keys neko
```
### Now support Actions to Generate
By define the Secret GEN_NUMBER and DOMAIN_NAME to generate your invidual name.
### Acknowledgements & Legal