An open API service indexing awesome lists of open source software.

https://github.com/glitch-tools/sync-glitch-github-action

:flags: :arrow_forward: Wrap the sync-glitch CLI to enable execute the command as GitHub Action
https://github.com/glitch-tools/sync-glitch-github-action

cli github github-actions glitch sync sync-changes

Last synced: 9 months ago
JSON representation

:flags: :arrow_forward: Wrap the sync-glitch CLI to enable execute the command as GitHub Action

Awesome Lists containing this project

README

          

# GitHub Action for Glitch

Wraps the [sync-glitch CLI](https://github.com/glitch-tools/sync-glitch-cli) to enable execute the command.

## Usage

```hcl
# .github/main.workflow
workflow "New workflow" {
on = "push"
resolves = ["glitch-tools/sync-glitch-github-action@master"]
}

action "glitch-tools/sync-glitch-github-action@master" {
uses = "glitch-tools/sync-glitch-github-action@master"
secrets = ["GLITCH_PROJECT_ID", "GLITCH_TOKEN"]
}
```

### Secrets

- `GLITCH_PROJECT_ID` - **Required** The `projectId` of yours.
- `GLITCH_TOKEN` – **Required** The `authorization` of yours.

For more details on [glitch-tools/sync-glitch-cli#how-to-get-required-environment-variables](https://github.com/glitch-tools/sync-glitch-cli#how-to-get-required-environment-variables)