Skip to content

Commit

Permalink
Create transform-lab-config.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonbariwix authored Aug 31, 2022
1 parent 6567226 commit 155cd18
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/transform-lab-config.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 155cd18

Please sign in to comment.