Skip to content

updated airflow doc #73

updated airflow doc

updated airflow doc #73

# This workflow ensures that all yml files in the main scenarios folder are also in the relevant folders for each language.
name: yml_to_localized_folders
on:
push:
branches:
- main
workflow_dispatch:
jobs:
copy-yaml:
runs-on: ubuntu-latest
permissions:
actions: write
contents: write
deployments: write
packages: none
pull-requests: write
security-events: write
steps:
- uses: actions/checkout@v2
- name: Copy yml files
run: |
# Copy YAML files from scenarios/ to language folders
for folder in scenarios/; do
find $folder -name '*.yml' -exec sh -c 'for lang_folder in localized/*/; do cp "$1" "${lang_folder}scenarios/${1#scenarios/}"; done' _ {} \;
done
- name: Commit and push changes
run: |
git config --global user.email "[email protected]"
git config --global user.name "mbifeld"
git add .
git commit -m "Copy YAML files to language folders"
git push