mirror of
https://github.com/FutaGuard/LowTechFilter.git
synced 2025-06-21 05:21:02 +08:00
export env
This commit is contained in:
parent
424e3595e7
commit
b8ef80e70e
6
.github/workflows/tw165.yml
vendored
6
.github/workflows/tw165.yml
vendored
@ -17,15 +17,11 @@ jobs:
|
||||
limit-access-to-actor: true
|
||||
## limits ssh access and adds the ssh public keys of the listed GitHub users
|
||||
limit-access-to-users: tasi788
|
||||
env:
|
||||
TW165: ${{ env.TW165 }}
|
||||
- uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: '3.9'
|
||||
cache: 'pip' # caching pip dependencies
|
||||
- env:
|
||||
TW165: ${{ env.TW165 }}
|
||||
run: echo "$TW165" && pip install -r AutoBuild/requirements.txt && python AutoBuild/tw_165.py
|
||||
run: export tw165=${{ env.TW165 }} && pip install -r AutoBuild/requirements.txt && python AutoBuild/tw_165.py
|
||||
- name: push
|
||||
uses: github-actions-x/commit@v2.9
|
||||
with:
|
||||
|
@ -10,7 +10,7 @@ logger = logging.getLogger(__name__)
|
||||
|
||||
|
||||
def main():
|
||||
url = os.getenv('env.TW165', None)
|
||||
url = os.getenv('tw165', None)
|
||||
if not url:
|
||||
logger.critical('URL NOT SET')
|
||||
return
|
||||
|
Loading…
x
Reference in New Issue
Block a user