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
- Host: GitHub
- URL: https://github.com/glitch-tools/sync-glitch-github-action
- Owner: glitch-tools
- License: apache-2.0
- Created: 2019-01-01T11:59:16.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-01-02T13:59:38.000Z (about 7 years ago)
- Last Synced: 2025-04-01T22:37:26.165Z (10 months ago)
- Topics: cli, github, github-actions, glitch, sync, sync-changes
- Language: Dockerfile
- Homepage:
- Size: 104 KB
- Stars: 15
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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)