Skip to content

Merge pull request #16 from mbalc/szereg-v2 #36

Merge pull request #16 from mbalc/szereg-v2

Merge pull request #16 from mbalc/szereg-v2 #36

Workflow file for this run

# This is a basic workflow to help you get started with Actions
name: CI
# Controls when the workflow will run
on:
push:
branches: [ "master" ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
build:
# The type of runner that the job will run on
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v3
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/setup-python@v4
with:
python-version: '3.8'
- name: Generate yaml
run: python .scripts/md_to_yaml.py
- name: Push yaml
run: |
if git diff-index --quiet HEAD
then
echo "No changes."
else
git config --global user.name github-actions
git config --global user.email [email protected]
git add .
git commit -m "Generate yaml files"
git push
fi