Skip to content

Sync mlf-core project #55

Sync mlf-core project

Sync mlf-core project #55

Workflow file for this run

name: Sync mlf-core project
on:
schedule:
- cron: '0 1 * * *' # 1 am UTC
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Setup Python
uses: actions/setup-python@v1
with:
python-version: 3.8
- name: Install mlf-core
run: pip install mlf-core
- uses: actions/checkout@v2
name: Check out source-code repository
with:
fetch-depth: 0
token: ${{ secrets.MLF_CORE_SYNC_TOKEN }}
- uses: oleksiyrudenko/gha-git-credentials@v2
with:
name: 'waseju'
email: '[email protected]'
actor: 'waseju'
token: '${{ secrets.MLF_CORE_SYNC_TOKEN }}'
- name: Sync project
run: mlf-core --verbose sync . ${{ secrets.MLF_CORE_SYNC_TOKEN }} waseju