Skip to content

fix indent

fix indent #46

Workflow file for this run

name: master
on:
push:
branches: [ master ]
workflow_dispatch:
jobs:
check-yaml:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.8
- name: Install yamllint
run: pip install yamllint
- name: Lint YAML files
run: yamllint --format github -d .github/workflows/conf_yaml ./composes-files/*
generate-files:
needs: check-yaml
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Generate json file
run: python3 .github/workflows/generate-template-json.py
- name: update file and push to remote
run: |
git config --global user.name "github-actions[bot]"
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
git add -A
git commit -m "Automatic generation of the file templates-portainer.json"
git push