diff --git a/.github/workflows/flex-update.yml b/.github/workflows/flex-update.yml index dbbd37d..37f0dde 100644 --- a/.github/workflows/flex-update.yml +++ b/.github/workflows/flex-update.yml @@ -10,7 +10,18 @@ defaults: shell: bash jobs: - call-flex-update: - uses: symfony/recipes/.github/workflows/callable-flex-update.yml@main - with: - contrib: true \ No newline at end of file + flex-update: + name: Update Flex endpoint + runs-on: Ubuntu-20.04 + steps: + - + name: Update Flex endpoint + uses: symfony/recipes/.github/workflows/callable-flex-update.yml@main + with: + contrib: true + - + name: Duplicate index.json into main branch + run: | + git checkout origin/main/flex index.json + git commit -m 'Update Flex endpoint' || true + git push origin main \ No newline at end of file