-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
44 changed files
with
1,133 additions
and
554 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,93 @@ | ||
--- | ||
sidebar_position: 4 | ||
title: Firebase | ||
--- | ||
|
||
Run the following command to run the pre-built [Firebase Pipeline](https://github.com/fluent-ci-templates/firebase-pipeline) in your project to deploy your Cloudflare Workers to [Cloudflare](https://cloudflare.com): | ||
|
||
import Tabs from "@theme/Tabs"; | ||
import TabItem from "@theme/TabItem"; | ||
import CodeBlock from "@theme/CodeBlock"; | ||
|
||
<Tabs> | ||
<TabItem value="dagger" label="Dagger"> | ||
<CodeBlock language="bash"> | ||
{`fluentci run firebase`} | ||
</CodeBlock> | ||
</TabItem> | ||
<TabItem value="wasm" label="Wasm"> | ||
<CodeBlock language="bash"> | ||
{`fluentci run --wasm firebase deploy`} | ||
|
||
</CodeBlock> | ||
</TabItem> | ||
</Tabs> | ||
|
||
Or, if you want to use it as a template: | ||
|
||
```bash | ||
fluentci init -t firebase | ||
``` | ||
|
||
This will create a `.fluentci` folder in your project. | ||
|
||
Now you can run the pipeline with: | ||
|
||
```bash | ||
fluentci run . | ||
``` | ||
|
||
Or simply: | ||
|
||
```bash | ||
fluentci | ||
``` | ||
|
||
## 🧩 Dagger Module | ||
|
||
Use as a [Dagger](https://dagger.io) Module: | ||
|
||
```bash | ||
dagger install github.com/fluent-ci-templates/firebase-pipeline@main | ||
``` | ||
|
||
Call a function from the module: | ||
|
||
```bash | ||
dagger call build --src . | ||
dagger call deploy --src . --token env:FIREBASE_TOKEN | ||
``` | ||
|
||
## 🛠️ Environment Variables | ||
|
||
| Variable | Description | | ||
| -------------- | -------------------------- | | ||
| FIREBASE_TOKEN | Your firebase Access Token | | ||
|
||
## ✨ Jobs | ||
|
||
| Job | Description | | ||
| ------ | --------------------------- | | ||
| build | Build your project. | | ||
| deploy | Deploy to firebase hosting. | | ||
|
||
```typescript | ||
build( | ||
src: string | Directory | undefined = "." | ||
): Promise<Directory | string> | ||
|
||
deploy( | ||
src: string | Directory | undefined = ".", | ||
token?: string | Secret | ||
): Promise<string> | ||
``` | ||
|
||
## 👨💻 Programmatic usage | ||
|
||
You can also use this pipeline programmatically: | ||
|
||
```typescript | ||
import { deploy } from "jsr:@fluentci/firebase"; | ||
|
||
await deploy("."); | ||
``` |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
--- | ||
sidebar_position: 5 | ||
title: Fly | ||
--- | ||
|
||
Run the following command to run the pre-built [Fly Pipeline](https://github.com/fluent-ci-templates/fly-pipeline) in your project to deploy your application to [fly.io](https://fly.io): | ||
|
||
import Tabs from "@theme/Tabs"; | ||
import TabItem from "@theme/TabItem"; | ||
import CodeBlock from "@theme/CodeBlock"; | ||
|
||
<Tabs> | ||
<TabItem value="dagger" label="Dagger"> | ||
<CodeBlock language="bash"> | ||
{`fluentci run fly deploy`} | ||
</CodeBlock> | ||
</TabItem> | ||
<TabItem value="wasm" label="Wasm"> | ||
<CodeBlock language="bash"> | ||
{`fluentci run --wasm fly deploy`} | ||
|
||
</CodeBlock> | ||
</TabItem> | ||
</Tabs> | ||
|
||
## Environment variables | ||
|
||
| Variable | Description | | ||
| ------------- | ------------------ | | ||
| FLY_API_TOKEN | Your Fly API Token | | ||
|
||
## Jobs | ||
|
||
| Job | Description | | ||
| ------ | -------------------------------- | | ||
| deploy | Deploys your application to Fly. | | ||
|
||
## Programmatic usage | ||
|
||
You can also use this pipeline programmatically: | ||
|
||
```typescript | ||
import { deploy } from "jsr:@fluentci/fly"; | ||
|
||
await deploy(); | ||
``` |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
--- | ||
sidebar_position: 6 | ||
title: Heroku | ||
--- | ||
|
||
Run the following command to run the pre-built [Heroku Pipeline](https://github.com/fluent-ci-templates/heroku-pipeline) in your project to deploy your application to [Heroku](https://www.heroku.com): | ||
|
||
import Tabs from "@theme/Tabs"; | ||
import TabItem from "@theme/TabItem"; | ||
import CodeBlock from "@theme/CodeBlock"; | ||
|
||
<Tabs> | ||
<TabItem value="dagger" label="Dagger"> | ||
<CodeBlock language="bash"> | ||
{`fluentci run heroku deploy`} | ||
</CodeBlock> | ||
</TabItem> | ||
<TabItem value="wasm" label="Wasm"> | ||
<CodeBlock language="bash"> | ||
{`fluentci run --wasm heroku deploy`} | ||
|
||
</CodeBlock> | ||
</TabItem> | ||
</Tabs> | ||
|
||
## Environment variables | ||
|
||
| Variable | Description | | ||
| --------------- | ------------------- | | ||
| HEROKU_API_KEY | Your Heroku API Key | | ||
| HEROKU_APP_NAME | Your Heroku App | | ||
|
||
## Jobs | ||
|
||
| Job | Description | | ||
| ------ | ----------------------------------- | | ||
| deploy | Deploys your application to Heroku. | | ||
|
||
## Programmatic usage | ||
|
||
You can also use this pipeline programmatically: | ||
|
||
```typescript | ||
import { deploy } from "jsr:@fluentci/heroku"; | ||
|
||
await deploy(); | ||
``` |
Oops, something went wrong.