Skip to content

Commit

Permalink
ci: add the GitHub Actions configuration files
Browse files Browse the repository at this point in the history
  • Loading branch information
iaroslaff committed Nov 19, 2024
1 parent 2b40473 commit 3cf63f4
Show file tree
Hide file tree
Showing 3 changed files with 53 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/ISSUE_TEMPLATE/features.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: feature
assignees: <viewer>

---

**Is your feature request related to a problem? Please describe:**
a clear and concise description of what the problem is. Ex.: I'm always frustrated when [...].

**Describe the solution you'd like:**
a clear and concise description of what you want to happen.

**Describe alternatives you've considered:**
a clear and concise description of any alternative solutions or features you've considered.

**Additional context:**
add any other context or screenshots about the feature request here.
8 changes: 8 additions & 0 deletions .github/SECURITY.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Security Policy

## Supported Versions

| Library | Version | Supported |
|----------------------------------------------------------|---------|--------------------|
| [Rust](https://github.com/rust-lang/rust) | 1.81.0 | :heavy_check_mark: |
| [Shuttle Runtime](https://github.com/shuttle-hq/shuttle) | 0.48.0 | :heavy_check_mark: |
25 changes: 25 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---
name: Deploy Rust app to Shuttle

on:
push:
tags:
- 'v*'
workflow_dispatch:

jobs:
deploy:
runs-on: ubuntu-latest
environment: shuttle-rs
steps:
- uses: shuttle-hq/deploy-action@main
with:
cargo-shuttle-version: '0.48.2'
deploy-key: ${{ secrets.SHUTTLE_API_KEY }}
secrets: |
DATADOG_API_KEY = '${{ secrets.DATADOG_API_KEY }}'
DATADOG_LOG_LEVEL = '${{ secrets.DATADOG_LOG_LEVEL }}'
DATADOG_TAGS = '${{ secrets.DATADOG_TAGS }}'
SMTP_ADDR = '${{ secrets.SMTP_ADDR }}'
SMTP_AUTH = '${{ secrets.SMTP_AUTH }}'

0 comments on commit 3cf63f4

Please sign in to comment.