https://github.com/serv-c/servc-publish-action
A Github action to publish dags
https://github.com/serv-c/servc-publish-action
ignore
Last synced: 2 months ago
JSON representation
A Github action to publish dags
- Host: GitHub
- URL: https://github.com/serv-c/servc-publish-action
- Owner: serv-c
- Created: 2025-06-04T11:35:43.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2026-02-09T10:55:27.000Z (4 months ago)
- Last Synced: 2026-02-09T15:46:08.530Z (4 months ago)
- Topics: ignore
- Language: JavaScript
- Homepage:
- Size: 86.9 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Publishing a Dag
To publish a dag, simply use the github action as part of your pipeline:
```yaml
- name: Publish Dag
uses: serv-c/servc-publish-action@main
if: github.ref_name == 'main'
with:
api_token: ${{ secrets.API_TOKEN }}
# OPTIONAL:
# dag_json: dag.json # location of the dag to publish
# api_url: https://api.servc.io # the api endpoint to push to
# python_version: 3.13 # the python version to use for publishing
```