diff --git a/.github/workflows/lagon.yml b/.github/workflows/lagon.yml deleted file mode 100644 index 49437ec..0000000 --- a/.github/workflows/lagon.yml +++ /dev/null @@ -1,39 +0,0 @@ -name: lagon - -on: - push: - branches: - - main - - lagon - -jobs: - deploy: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - run: corepack enable - - uses: actions/setup-node@v4 - with: - node-version: 18 - cache: pnpm - - run: pnpm install - - run: pnpm build - env: - NITRO_PRESET: lagon - - name: Lagon deploy - uses: lagonapp/github-action@latest - if: github.ref == 'refs/heads/main' - with: - lagon_token: ${{ secrets.LAGON_TOKEN }} - config: | - { - "function_id": "cleoau1wk0000mj0843yvsgi7", - "organization_id": "cleeepy2j0006jx08ew36ivpg", - "index": ".output/server/index.mjs", - "client": null, - "assets": ".output/public" - } - - name: Log Function URL - run: | - url=$(grep -o 'https://[^[:space:]]*' lagon.output) - echo "Function available at: $url" diff --git a/README.md b/README.md index 8a45ea4..e9fba91 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,6 @@ Learn more about Nitro deployment: https://nitro.unjs.io/deploy/ - **Firebase Hosting**: [Deployment](https://nitro-web-app.web.app/) | [Docs](https://nitro.unjs.io/deploy/providers/firebase) - **Github Pages**: [Deployment](https://unjs.github.io/nitro-deploys/) | [Docs](https://nitro.unjs.io/deploy/workers) - **Heroku**: ~~Deployment~~ | [Docs](https://nitro.unjs.io/deploy/providers/heroku) -- **Lagon**: [Deployment](https://nitro-app.lagon.dev/) | [Docs](https://nitro.unjs.io/deploy/providers/lagon) - **Netflify Edge**: [Deployment](https://nitro-deployment-edge.netlify.app/) | [Docs](https://nitro.unjs.io/deploy/providers/netlify#netlify-edge-functions) - **Netlify Functions**: [Deployment](https://nitro-deployment.netlify.app/) | [Docs](https://nitro.unjs.io/deploy/providers/netlify) - **Render.com**: ~~Deployment~~ | [Docs](https://nitro.unjs.io/deploy/providers/render) diff --git a/deployments.ts b/deployments.ts index 651e9b5..3f8b278 100644 --- a/deployments.ts +++ b/deployments.ts @@ -48,12 +48,6 @@ export const deployments = [ url: "https://nitro-app.herokuapp.com/", docs: "https://nitro.unjs.io/deploy/providers/heroku", }, - { - name: "Lagon", - enabled: true, - url: "https://nitro-app.lagon.dev/", - docs: "https://nitro.unjs.io/deploy/providers/lagon", - }, { name: "Netlify Functions", enabled: true,