mirror of
https://github.com/cathugger/mkp224o.git
synced 2025-04-18 21:12:02 +00:00
Merge 769c0ec57d
into 5172c0fd71
This commit is contained in:
commit
cbd4cf02cc
2 changed files with 38 additions and 0 deletions
34
.github/workflows/Gen.yml
vendored
Normal file
34
.github/workflows/Gen.yml
vendored
Normal 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 }}
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue