{"id":28095407,"url":"https://github.com/lightdash/cli-actions","last_synced_at":"2025-06-16T05:36:34.008Z","repository":{"id":60286151,"uuid":"536457909","full_name":"lightdash/cli-actions","owner":"lightdash","description":"CLI scripts for Github actions","archived":false,"fork":false,"pushed_at":"2024-05-22T19:26:07.000Z","size":43,"stargazers_count":2,"open_issues_count":1,"forks_count":5,"subscribers_count":12,"default_branch":"main","last_synced_at":"2025-06-09T04:02:40.324Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lightdash.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2022-09-14T07:15:23.000Z","updated_at":"2024-02-02T21:44:32.000Z","dependencies_parsed_at":"2024-01-16T12:28:33.262Z","dependency_job_id":"4af14aa5-ae91-48a3-ba62-9d2198c56b57","html_url":"https://github.com/lightdash/cli-actions","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/lightdash/cli-actions","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lightdash%2Fcli-actions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lightdash%2Fcli-actions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lightdash%2Fcli-actions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lightdash%2Fcli-actions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lightdash","download_url":"https://codeload.github.com/lightdash/cli-actions/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lightdash%2Fcli-actions/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260106865,"owners_count":22959742,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-05-13T16:00:00.540Z","updated_at":"2025-06-16T05:36:34.001Z","avatar_url":"https://github.com/lightdash.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Lightdash GitHub Actions templates\n\n## Deploy your Lightdash project\n\u003e deploy.yml\n\nFollow the [Lightdash documentation](https://docs.lightdash.com/references/syncing_your_dbt_changes) to know how you can\nadd this Github action to your DBT Github repo to\nautomatically deploy your DBT changes into Lightdash.\n\n## Refresh your Lightdash project\n\u003e refresh.yml\n\nAlternative to `deploy.yml`. \nThe main difference is that it uses the credentials saved in your Lightdash project.\n\n## Compile your dbt project\n\u003e compile.yml\n\nSucceeds if your dbt project compiles correctly.\n\n## Create a preview Lightdash project on each pull request\n\u003e start-preview.yml\n\u003e stop-preview.yml\n\nFollow the [Lightdash documentation](https://docs.lightdash.com/guides/cli/how-to-use-lightdash-preview#set-up-developer-previews-on-your-pull-requests) to know how you can\nadd this Github action to your DBT Github repo to automatically create preview projects with your pull request changes.\n\n# Extra configuration\n\n## Use CLI config instead of ENV vars\n\nIf you prefer to authenticate on the CLI using the `lightdash/config.yaml` file, just copy the full content of that file\ninto a `CLI_CONFIG` secret\n\nand add the following step before `Lightdash CLI deploy`\n\n```\n      - name: Create config file \n        env: \n          config: ${{ secrets.CLI_CONFIG }}          \n        run:  |\n          mkdir -p $HOME/.config/lightdash\n          echo -e \"$config\" \u003e $HOME/.config/lightdash/config.yaml\n\n```\n\nBoth options are compatible (env vars have priority) \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flightdash%2Fcli-actions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flightdash%2Fcli-actions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flightdash%2Fcli-actions/lists"}