Compare commits

...

1 Commits

Author SHA1 Message Date
Constantin Graf
510cb10cb9 Deploy API docs with the FastFront GitHub action 2026-10-19 16:54:33 +02:00

View File

@@ -3,6 +3,7 @@ on:
push:
branches:
- main
workflow_dispatch:
permissions:
contents: read
@@ -57,10 +58,9 @@ jobs:
name: api-docs.json
path: build/api-docs.json
- name: "Download Fastfront CLI"
run: curl https://fastfront-cli.s3.fr-par.scw.cloud/fastfront-cli.phar -o fastfront-cli.phar
- name: "Deploy with Fastfront"
run: php fastfront-cli.phar deploy 9beab6cf-f459-446b-85f1-38ec007cf457 ./build
env:
FASTFRONT_API_KEY: ${{ secrets.FASTFRONT_API_DOCS_API_KEY }}
- name: "Deploy with FastFront"
uses: fastfront-io/deploy-action@v0.0.1
with:
folder: './build'
environment: ${{ vars.FASTFRONT_API_DOCS_STAGE }}
api_key: ${{ secrets.FASTFRONT_API_DOCS_STAGE_KEY }}