Skip to content

Merge pull request #87 from itpp-labs/DINAR2fork #100

Merge pull request #87 from itpp-labs/DINAR2fork

Merge pull request #87 from itpp-labs/DINAR2fork #100

Workflow file for this run

name: "Push forked DINAR to Repos"
on:
push:
paths:
- ".github/workflows/fork2repos.yml"
- "workflow-files/fork2repos.py"
- "static-files/**"
- "config.yml"
branches:
- master
jobs:
upload-files:
runs-on: ubuntu-latest
if: "github.repository != 'itpp-labs/DINAR'"
steps:
- name: Checkout Fork
uses: actions/checkout@v2-beta
with:
path: FORK
- uses: actions/setup-python@v1
with:
python-version: "3.7.x"
- name: Install python tools
run: |
pip install plumbum pyyaml
- name: Sync DINAR files
run: |
python FORK/workflow-files/fork2repos.py FORK/config.yml "${{ secrets.BOT_TOKEN }}" "${{ secrets.BOT_NAME }}" "${{ secrets.BOT_EMAIL }}"