Fixing Attempt #8?

This commit is contained in:
minoplhy 2021-08-01 10:43:21 +07:00
parent c23c8c393d
commit 5ba8da9b3f
2 changed files with 5 additions and 1 deletions

View File

@ -8,6 +8,9 @@ inputs:
Destination_NAME:
description: "destination's name of repo"
required: true
Destination_UNAME:
description: "Idk"
required: true
Destination_REPO:
description: "repo name"
required: true
@ -29,6 +32,7 @@ runs:
image: "Dockerfile"
args:
- ${{ inputs.Destination_NAME }}
- ${{ inputs.Destination_UNAME }}
- ${{ inputs.Destination_REPO }}
- ${{ inputs.Destination_VERSION }}
- ${{ inputs.GIT_NAME }}

View File

@ -5,7 +5,7 @@ pip3 install -r /filters-maker/requirements.txt
python3 /filters-maker/crawler.py /filters-maker/input/domains.txt
python3 /filters-maker/maker-rpz.py /filtes-maker/input/domains.txt /repros/$Destination_VERSION/rpz.txt
cd /repros
git remote add destination https://x-access-token:$API_TOKEN_GITHUB@github.com/$Destination_REPO.git
git remote add destination https://x-access-token:$API_TOKEN_GITHUB@github.com/$Destination_UNAME/$Destination_REPO.git
git config --local user.name $GIT_NAME
git config --local user.email $GIT_EMAIL
git add .