Skip to content

Update ISCC data

Update ISCC data #396

Workflow file for this run

name: Update ISCC data
on:
workflow_dispatch:
schedule:
- cron: "0 */1 * * *"
jobs:
update_data:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Check out the repo
uses: actions/checkout@v3
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: "3.10"
- name: Setup Pypi
run: pip install requests
- name: Update data
run: python3 main.py
env:
USERNAME: ${{ secrets.USERNAME }}
PASSWORD: ${{ secrets.PASSWORD }}
- name: Commit files
run: |
git config --local user.name ${{ github.actor }}
git config --local user.email "${{ github.actor }}@users.noreply.github.com"
git add ./docs
git add ./archives
git commit -m "update"
- name: Push changes
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
force: false