Skip to content

update graphiql style #7

update graphiql style

update graphiql style #7

Workflow file for this run

name: Deploy
on:
workflow_dispatch:
push:
branches: [main]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
defaults:
run:
shell: bash
env:
CI: true
ACTIONS_RUNNER_DEBUG: true
ENVIRONMENT: "production"
BASE_URL: "https://introspect.lagon.dev"
jobs:
deploy:
name: "Deploy"
timeout-minutes: 2
runs-on: ["ubuntu-latest"]
steps:
- name: "Checkout"
uses: actions/checkout@v4.1.1
- name: "Setup Bun"
uses: oven-sh/setup-bun@v1
with:
bun-version: latest
- name: "Install Dependencies"
run: bun install
- name: "Setup Lagon"
uses: lagonapp/github-action@latest
with:
lagon_token: ${{ secrets.LAGON_TOKEN }}
command: deploy --production
config: |
{
"function_id": "${{ secrets.LAGON_FUNCTION_ID }}",
"organization_id": "${{ secrets.LAGON_ORGANIZATION_ID }}",
"index": "./src/index.ts",
"client": null,
"assets": null
}
- name: Log Function URL
run: |
url=$(grep -o 'https://[^[:space:]]*' lagon.output)
echo "Function URL: $url"