-
Notifications
You must be signed in to change notification settings - Fork 792
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
3 changed files
with
85 additions
and
21 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# A workflow that sync Keep workflows from a directory | ||
|
||
on: | ||
push: | ||
paths: | ||
- 'examples/workflows/**' | ||
workflow_dispatch: | ||
inputs: | ||
keep_api_key: | ||
description: 'Keep API Key' | ||
required: false | ||
keep_api_url: | ||
description: 'Keep API URL' | ||
required: false | ||
default: 'https://api.keep.dev' | ||
|
||
jobs: | ||
compile: | ||
name: Upload workflows to Keep | ||
runs-on: ubuntu-latest | ||
# Use the Keep CLI image | ||
container: | ||
image: us-central1-docker.pkg.dev/keephq/keep/keep-cli:latest | ||
env: | ||
KEEP_API_KEY: ${{ secrets.KEEP_API_KEY || github.event.inputs.keep_api_key }} | ||
KEEP_API_URL: ${{ secrets.KEEP_API_URL || github.event.inputs.keep_api_url }} | ||
|
||
steps: | ||
- name: Check out the repo | ||
uses: actions/checkout@v2 | ||
|
||
- name: Run Keep CLI | ||
run: | | ||
keep apply -f examples/workflows |
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
eed0c5e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
keep – ./
keep-keephq.vercel.app
keep-eight.vercel.app
keep-git-main-keephq.vercel.app
platform.keephq.dev