Skip to content

Commit

Permalink
feat: Create production-deploy.yml
Browse files Browse the repository at this point in the history
Implements shuttle deployments on push to `main`.
  • Loading branch information
tsal authored Sep 9, 2023
1 parent 54bde99 commit 8b0310c
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/production-deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Shuttle Deploy

on:
push:
branches:
- "main"
workflow_dispatch:

jobs:
deploy:
runs-on: ubuntu-latest
environment: production
steps:
- uses: shuttle-hq/deploy-action@main
with:
deploy-key: ${{ secrets.SHUTTLE__KEY }}
cargo-shuttle-version: ${{ vars.SHUTTLE_VERSION }}
secrets: |
DISCORD_TOKEN = '${{ secrets.DISCORD_TOKEN }}'
STEAM_API_KEY = '${{ secrets.STEAM_API_KEY }}'
OWNER_GUILD_ID = '${{ secrets.ATT_GUILD_ID }}'
ARMA_SERVERS = '${{ vars.ARMA_SERVERS }}'

0 comments on commit 8b0310c

Please sign in to comment.