Markdowns to JSONs #525
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Markdowns to JSONs | |
on: | |
pull_request: | |
paths: | |
- 'markdown/**/*.md' | |
workflow_dispatch: | |
jobs: | |
update-json: | |
name: Lecture et conversion des fichiers Markdown en JSON | |
runs-on: ubuntu-latest | |
timeout-minutes: 30 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: earthly/actions-setup@v1 | |
with: | |
version: ^0.8.0 | |
- uses: supabase/setup-cli@v1 | |
- name: Login into registry | |
run: earthly --use-inline-cache +docker-dev-login --GH_USER=${{ secrets.GH_USER }} --GH_TOKEN=${{ secrets.GH_TOKEN }} | |
- name: Convertit les fichiers Markdown en JSON | |
run: earthly +business-parse | |
- name: Setup le projet | |
run: earthly +setup-env | |
- name: Lance le projet | |
run: earthly +dev | |
- name: Lance les tests business | |
run: earthly +business-test | |
- name: Commit les fichiers JSON | |
uses: EndBug/add-and-commit@v7 | |
with: | |
default_author: github_actions | |
message: Contenus json générés depuis les Markdowns |