Fixing Attempt #13?

This commit is contained in:
minoplhy 2021-08-01 11:24:39 +07:00
parent d011496a5e
commit 917b475e36
2 changed files with 5 additions and 1 deletions

View File

@ -14,6 +14,9 @@ inputs:
Destination_REPO:
description: "repo name"
required: true
Destination_FOLDER:
description: "folder"
required: true
Destination_VERSION:
description: "version"
required: true
@ -34,6 +37,7 @@ runs:
- ${{ inputs.Destination_NAME }}
- ${{ inputs.Destination_UNAME }}
- ${{ inputs.Destination_REPO }}
- ${{ inputs.Destination_FOLDER }}
- ${{ inputs.Destination_VERSION }}
- ${{ inputs.GIT_NAME }}
- ${{ inputs.GIT_EMAIL }}

View File

@ -1,7 +1,7 @@
#!/bin/bash
git clone https://github.com/minoplhy/filters-maker /filters-maker
git clone https://x-access-token:$API_TOKEN_GITHUB@github.com/$INPUT_DESTINATION_UNAME/$INPUT_DESTINATION_REPO.git /repros
mkdir /repros/Private-Build/$INPUT_DESTINATION_VERSION
mkdir /repros/$INPUT_DESTINATION_FOLDER/$INPUT_DESTINATION_VERSION
pip3 install -r /filters-maker/requirements.txt
python3 /filters-maker/crawler.py /filters-maker/input/domains.txt
python3 /filters-maker/maker-rpz.py /filters-maker/input/excluded.txt /filters-maker/input/domains.txt /repros/Private-Build/$INPUT_DESTINATION_VERSION/rpz.txt