https://github.com/alejandromav/tinybird-action-cli
Tinybird CLI Github Action
https://github.com/alejandromav/tinybird-action-cli
github-action tinybird
Last synced: 12 months ago
JSON representation
Tinybird CLI Github Action
- Host: GitHub
- URL: https://github.com/alejandromav/tinybird-action-cli
- Owner: alejandromav
- License: mit
- Created: 2021-11-24T11:59:49.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2023-09-13T08:50:30.000Z (over 2 years ago)
- Last Synced: 2025-02-20T08:17:24.804Z (12 months ago)
- Topics: github-action, tinybird
- Language: Dockerfile
- Homepage: https://github.com/marketplace/actions/tinybird-cli
- Size: 8.79 KB
- Stars: 5
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: license
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
> [!WARNING]
> This project is deprecated and no longer maintained, please use [@tinybird/ci](https://github.com/tinybirdco/ci) instead
# Tinybird GitHub Action CLI
This action allows you to run [Tinybird CLI](https://docs.tinybird.co/cli.html) on your project.
## Usage
To use the action simply create an `*.yml` file in the `.github/workflows/` directory. Ref. https://docs.github.com/es/actions/learn-github-actions/workflow-syntax-for-github-actions
For example, this will push your latest changes to Tinybird:
```yaml
name: Push to Tinybird # feel free to pick your own name
on:
push:
branches:
- master
- main
- stable
- release/v*
jobs:
build:
runs-on: ubuntu-latest
steps:
# Important: This sets up your GITHUB_WORKSPACE environment variable
- uses: actions/checkout@v2
- name: Push changes to Tinybird
# replace "master" with any valid ref
uses: alejandromav/tinybird-action-cli@master
with:
# [required]
# Tinybird admin token. Please, use Github secrets (https://docs.github.com/en/actions/security-guides/encrypted-secrets)
token: ${{ secrets.TINYBIRD_TOKEN }}
# [optional]
# Arguments to be passed to the Tinybird CLI
args: "push --push-deps --debug"
```
## License
The Dockerfile and associated scripts and documentation in this project are released under the [MIT](license).