Skip to content
This repository was archived by the owner on Jun 24, 2025. It is now read-only.

Generator

Generator #627

Workflow file for this run

name: Generator
on:
issues:
watch:
types: [started]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@master
- name: Set up Python #安装python
uses: actions/setup-python@v1
with:
python-version: 3.x
- name: Install requirements #安装requests
run: |
pip install -r requirements.txt
- name: Installing package list
run: apt list --installed
- name: Removing previous chrome instances on runner
run: sudo apt purge google-chrome-stable
- name: Installing all necessary packages
run: pip install chromedriver-autoinstaller selenium pyvirtualdisplay
- name: Install xvfb
run: sudo apt-get install xvfb
- name: Update links #更新
run: |
python generator/main.py
- name: Commit & Push
uses: action-x/commit@v2.9
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
push-branch: 'output'
force-push: 'true'
commit-message: 'Generate Json'
name: github-actions[bot]
email: github-actions[bot]@noreply.github.com