Files
addon/.gitea/workflows/updateDomains.yaml
T
stevazi defd55e0ee
Update channel domains / update (push) Successful in 17s
update workflow
2025-01-18 00:00:26 +01:00

35 lines
874 B
YAML

name: Update channel domains
on:
workflow_dispatch:
schedule:
- cron: '30 17 * * *'
push:
branches:
- master
jobs:
update:
runs-on: ubuntu-latest
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: '3.7'
architecture: 'x64'
- name: Install dependencies
run: pip install requests
- name: Update domains
run: python tools/updateDomains.py
- name: Commit changes
run: |
git add .
git commit -m "Aggiornamento domini" || echo "No changes to commit"
- name: push
run: |
git push https://stevazi:${{ secrets.API_TOKEN_GITHUB }}@git.stevazi.mywire.org/stevazi/addon.git master