https://github.com/cowprotocol/autodeploy-action
GitHub action for triggering re-deployments
https://github.com/cowprotocol/autodeploy-action
Last synced: 10 months ago
JSON representation
GitHub action for triggering re-deployments
- Host: GitHub
- URL: https://github.com/cowprotocol/autodeploy-action
- Owner: cowprotocol
- License: mit
- Created: 2022-04-01T09:29:27.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2025-08-06T21:58:41.000Z (10 months ago)
- Last Synced: 2025-08-06T23:36:01.393Z (10 months ago)
- Language: JavaScript
- Size: 298 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Auto-Deploy Action
An action to automatically trigger a re-deployment of Kubernetes pods.
## Configuration
Just configure secrets for the URL and API token as well as which deployment pods should be automatically restarted:
```yaml
uses: cowprotocol/autodeploy-action@v1
with:
pods: foo,bar
url: ${{ secret.AUTODEPLOY_URL }}
token: ${{ secrets.AUTODEPLOY_TOKEN }}
```
alternatively you can trigger restarts by image name (all deployments running that image will restart)
```yaml
uses: cowprotocol/autodeploy-action@v1
with:
images: ghcr.io/cowprotocol/services:main
url: ${{ secret.AUTODEPLOY_URL }}
token: ${{ secrets.AUTODEPLOY_TOKEN }}
```
In case the rollout process takes a long time, you may have to set a custom timeout
```yaml
timeout: 600000 # 10 minutes
```