Skip to content
This repository was archived by the owner on Jun 13, 2025. It is now read-only.

Commit 465d5ef

Browse files
committed
Add triggers to update launchpad version in axiom
1 parent 97bccd4 commit 465d5ef

File tree

2 files changed

+52
-3
lines changed

2 files changed

+52
-3
lines changed

.github/workflows/release.yaml

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
name: release
2+
3+
on:
4+
# Build/Release on demand
5+
workflow_dispatch:
6+
push:
7+
tags:
8+
- "*" # Tags that trigger a new release version
9+
10+
permissions:
11+
contents: write
12+
pull-requests: read
13+
14+
jobs:
15+
tests:
16+
uses: ./.github/workflows/tests.yaml
17+
18+
release:
19+
runs-on: ubuntu-latest
20+
environment: release
21+
needs: tests
22+
# Only release when there's a tag for the release.
23+
if: startsWith(github.ref, 'refs/tags/')
24+
steps:
25+
- name: Checkout source code
26+
uses: actions/checkout@v3
27+
with:
28+
fetch-depth: 0 # Needed by goreleaser to browse history.
29+
- name: Set up go
30+
uses: actions/setup-go@v3
31+
with:
32+
go-version-file: ./go.mod
33+
cache: false
34+
- name: Release with goreleaser
35+
uses: goreleaser/goreleaser-action@v3
36+
with:
37+
distribution: goreleaser
38+
version: latest
39+
args: release --rm-dist
40+
env:
41+
DISCORD_WEBHOOK_ID: ${{ secrets.DISCORD_WEBHOOK_ID }}
42+
DISCORD_WEBHOOK_TOKEN: ${{ secrets.DISCORD_WEBHOOK_TOKEN }}
43+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
44+
TELEMETRY_KEY: ${{ secrets.TELEMETRY_KEY }}
45+
- name: Update axiom
46+
uses: distributhor/workflow-webhook@v2
47+
env:
48+
webhook_url: ${{ secrets.AXIOM_WEBHOOK_URL }}
49+
webhook_secret: ${{ secrets.AXIOM_WEBHOOK_SECRET }}
50+
data: "version=${{github.ref_name}}"

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,14 @@
1-
21
# Launchpad
32

4-
Launchpad provides the best developer experience for deploying any application to Kubernetes. Skip writing pages of Kubernetes YAML, and deploy in seconds with Launchpad's minimal deployment config.
3+
Deploy any application to Kubernetes with Launchpad. Skip writing pages of Kubernetes YAML, and deploy in seconds with Launchpad's minimal deployment config.
54

65
### Build and deploy with a single command
76

87
Launchpad up can build any image, push to your Docker registry, and generate Helm charts in one step.
98

109
## Get started
1110

12-
https://www.jetpack.io/docs/
11+
https://www.jetpack.io/launchpad/docs/
1312

1413
## Build from source
1514

0 commit comments

Comments
 (0)