EUserv Auto Extend #24
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: 'EUserv Auto Extend' | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
schedule: | |
- cron: '50 0 * * *' | |
jobs: | |
auto_renew: | |
runs-on: ubuntu-latest | |
steps: | |
- name: 'Checkout codes' | |
uses: actions/checkout@v2 | |
- name: 'Set python' | |
uses: actions/setup-python@v1 | |
with: | |
python-version: '3.x' | |
- name: 'Install dependencies' | |
run: | | |
python -m pip install --upgrade requests | |
python -m pip install --upgrade beautifulsoup4 | |
- name: 'Auto_renew' | |
env: | |
USERNAME: ${{ secrets.USERNAME }} | |
PASSWORD: ${{ secrets.PASSWORD }} | |
run: python main.py |