test aggiornamento automatico domini

This commit is contained in:
marco
2020-11-26 21:12:39 +01:00
parent 94f5b13012
commit 1ea7b8b016
3 changed files with 105 additions and 61 deletions

26
.github/workflows/updateDomains.yml vendored Normal file
View File

@@ -0,0 +1,26 @@
name: Update channel domains
on:
workflow_dispatch:
schedule:
- cron: '30 17 * * *'
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@v1
with:
python-version: 2.7
- name: Run tests
run: |
python tests/test_generic.py
- uses: mikeal/publish-to-github-action@master
env:
GITHUB_TOKEN: ${{ secrets.API_TOKEN_GITHUB }}
BRANCH_NAME: '' #optional defaults to master