Prepend 'php' to every command

This commit is contained in:
Sys 2021-08-24 13:18:02 +02:00
parent bab8276e39
commit 8ed1cc54be
No known key found for this signature in database
GPG Key ID: 3CD2C29F8AB39BFD

View File

@ -18,11 +18,11 @@ jobs:
image: ghcr.io/sysbot-org/tgscraper:latest image: ghcr.io/sysbot-org/tgscraper:latest
options: -v ${{ github.workspace }}:/out options: -v ${{ github.workspace }}:/out
run: | run: |
'/app/vendor/bin/tgscraper app:export-schema --readable botapi.json' 'php /app/vendor/bin/tgscraper app:export-schema --readable botapi.json'
'/app/vendor/bin/tgscraper app:export-schema --yaml --readable botapi.yaml' 'php /app/vendor/bin/tgscraper app:export-schema --yaml --readable botapi.yaml'
'/app/vendor/bin/tgscraper app:export-schema --postman --readable botapi_postman.json' 'php /app/vendor/bin/tgscraper app:export-schema --postman --readable botapi_postman.json'
'/app/vendor/bin/tgscraper app:export-schema --openapi --readable botapi_openapi.json' 'php /app/vendor/bin/tgscraper app:export-schema --openapi --readable botapi_openapi.json'
'/app/vendor/bin/tgscraper app:export-schema --yaml --openapi --readable botapi_openapi.yaml' 'php /app/vendor/bin/tgscraper app:export-schema --yaml --openapi --readable botapi_openapi.yaml'
- name: Deploy - name: Deploy
uses: peaceiris/actions-gh-pages@v3 uses: peaceiris/actions-gh-pages@v3
with: with: