move dns step
This commit is contained in:
10
.github/workflows/run-script.yml
vendored
10
.github/workflows/run-script.yml
vendored
@@ -14,11 +14,6 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
- name: Set custom DNS
|
|
||||||
run: |
|
|
||||||
echo -e "nameserver 185.51.200.2\nnameserver 178.22.122.100" | sudo tee /etc/resolv.conf > /dev/null
|
|
||||||
cat /etc/resolv.conf
|
|
||||||
|
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
@@ -32,6 +27,11 @@ jobs:
|
|||||||
python -m pip install --upgrade pip
|
python -m pip install --upgrade pip
|
||||||
pip install -r requirements.txt
|
pip install -r requirements.txt
|
||||||
|
|
||||||
|
- name: Set custom DNS
|
||||||
|
run: |
|
||||||
|
echo -e "nameserver 185.51.200.2\nnameserver 178.22.122.100" | sudo tee /etc/resolv.conf > /dev/null
|
||||||
|
cat /etc/resolv.conf
|
||||||
|
|
||||||
- name: Run Python Script
|
- name: Run Python Script
|
||||||
env:
|
env:
|
||||||
BARGHEMAN_TOKEN: ${{ secrets.BARGHEMAN_TOKEN }}
|
BARGHEMAN_TOKEN: ${{ secrets.BARGHEMAN_TOKEN }}
|
||||||
|
|||||||
Reference in New Issue
Block a user