Skip to content

Commit

Permalink
ci: Add config for deploying motis-proxy
Browse files Browse the repository at this point in the history
  • Loading branch information
jbruechert committed Mar 24, 2024
1 parent f786835 commit 5ef669e
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
File renamed without changes.
21 changes: 21 additions & 0 deletions .woodpecker/motis-proxy-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# SPDX-FileCopyrightText: 2024 Jonah Brüchert <[email protected]>
# SPDX-License-Identifier: CC0-1.0

when:
- event: tag

steps:
build-release-amd64:
image: docker.io/rust:alpine
commands:
- apk add musl-dev
- cd motis-proxy && cargo build --release

upload:
image: docker.io/woodpeckerci/plugin-github-release
settings:
files:
- motis-proxy/target/release/motis-proxy
title: ${CI_COMMIT_TAG##v}
api-key:
from_secret: github_release_token

0 comments on commit 5ef669e

Please sign in to comment.