From 155cd18228a0a60cb5ba25d1d1c3262a683b170e Mon Sep 17 00:00:00 2001 From: Jason <93127626+jasonbariwix@users.noreply.github.com> Date: Wed, 31 Aug 2022 10:44:44 +0300 Subject: [PATCH] Create transform-lab-config.yml --- .github/workflows/transform-lab-config.yml | 30 ++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .github/workflows/transform-lab-config.yml diff --git a/.github/workflows/transform-lab-config.yml b/.github/workflows/transform-lab-config.yml new file mode 100644 index 0000000..5021922 --- /dev/null +++ b/.github/workflows/transform-lab-config.yml @@ -0,0 +1,30 @@ +name: Transform lab config + +on: + push: + branches: [ "master" ] + pull_request: + branches: [ "master" ] + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + + - name: Generate README + uses: wix-academy/github-lab-config-to-github-skills-readme-action@v1.1 + with: + config-file: 'config.yml' + course-details-file: 'course-details.md' + readme-file: 'README.md' + + - name: Commit and push changes + run: | + git config --global user.name "Wix Academy" + git config --global user.email "academy@wix.com" + + git add -A + git commit -m "generate README.md from config.yml + course-details.md" + git push