Skip to content

516.1668 and 516.1669 #16

516.1668 and 516.1669

516.1668 and 516.1669 #16

Workflow file for this run

name: BYOND Mirror Update
# on:
# push:
# branches:
# - master
jobs:
mirror:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.12'
# - name: List installed packages (for debugging)
# run: apt list --installed
- name: Install Chromium
run: sudo apt install -y chromium-browser
- name: Install Python dependencies
run: |
pip install --upgrade pip
pip install webdriver-manager selenium
- name: Run BYOND mirror script
run: python scripts/download_byond_builds.py
- name: Commit and push if content changed
run: |
git config user.name "GitHub Actions"
git config user.email "[email protected]"
git add -A
timestamp=$(date -u)
git commit -m "Latest data: ${timestamp}" || exit 0
git push