Skip to content

Commit

Permalink
export job descriptions
Browse files Browse the repository at this point in the history
  • Loading branch information
tsirysndr committed Nov 23, 2023
1 parent e3e35db commit a63491c
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,13 @@ Run the following command:
fluentci run codecov_pipeline
```

## Dagger Module

Use as a [Dagger](https://dagger.io) Module:
```bash
dagger mod install github.com/fluent-ci-templates/codecov-pipeline@mod
```

## Environment Variables

| Variable | Description | Usage |
Expand Down
4 changes: 2 additions & 2 deletions src/dagger/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import pipeline from "./pipeline.ts";
import { upload } from "./jobs.ts";
import { upload, jobDescriptions } from "./jobs.ts";

export { pipeline, upload };
export { pipeline, upload, jobDescriptions };
2 changes: 1 addition & 1 deletion src/dagger/jobs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export const exclude = [".devbox", "node_modules", ".fluentci"];

export const upload = async (
src: string | Directory | undefined = ".",
token?: string
token?: string | Secret
) => {
await connect(async (client: Client) => {
const context = getDirectory(client, src);
Expand Down

0 comments on commit a63491c

Please sign in to comment.