Skip to content

Commit

Permalink
Add workflow to deploy changes to Dedicateds channel (#552)
Browse files Browse the repository at this point in the history
* Add workflow to deploy changes to Dedicateds channel

* Test

* Finish
  • Loading branch information
moicalcob authored Jun 10, 2024
1 parent d3469aa commit c29f4d7
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/release-dedicateds-changes.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Deploy changes to Dedicateds channel
on:
push:
branches:
- main

jobs:
release-changes:
timeout-minutes: 3
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Generate channel name
id: get-chart-version
shell: bash
run: |
# Share the variable for further steps
echo "version=$(yq .version -r chart/Chart.yaml)" >> "$GITHUB_OUTPUT"
- name: Publish changes into channel
uses: ./.github/actions/publish-release
with:
replicated-channel: "Dedicateds"
version: ${{ steps.get-chart-version.outputs.version }}
release-notes: "CARTO Self-Hosted version generated from main branch."
trigger-action: "dev"
gcloud-service-account: ${{ secrets.CARTO_ARTIFACTS_SERVICE_ACCOUNT }}
replicated-api-token: ${{ secrets.REPLICATED_API_TOKEN }}

0 comments on commit c29f4d7

Please sign in to comment.