Skip to content

Commit

Permalink
Fix(CI/CD): set up deployment workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
vladyio committed Dec 7, 2024
1 parent 4bd496f commit 5aa71c8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Deploy latest tag
name: Latest tag deploy

permissions:
id-token: write
Expand All @@ -10,8 +10,8 @@ on:
- 'v*'

jobs:
deploy-production:
name: Deploy to production
deploy-quicktube:
name: Deploy Quicktube
concurrency:
group: production_environment
cancel-in-progress: true
Expand All @@ -35,6 +35,9 @@ jobs:
with:
registry-username: ${{ secrets.KAMAL_REGISTRY_USERNAME }}
registry-password: ${{ secrets.KAMAL_REGISTRY_PASSWORD }}
environment: production
env:
RAILS_MASTER_KEY: ${{ secrets.RAILS_MASTER_KEY }}
HOST_IP: ${{ vars.HOST_IP }}
KAMAL_PROXY_HOST: ${{ vars.KAMAL_PROXY_HOST }}
SSH_USER: ${{ vars.SSH_USER }}
SSH_PORT: ${{ vars.SSH_PORT }}
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# QuickTube.app

![CI](https://github.com/vladyio/quicktube/actions/workflows/ci.yml/badge.svg)
![CD](https://github.com/vladyio/quicktube/actions/workflows/cd.yml/badge.svg)

<img src="shot.png">

Expand Down

0 comments on commit 5aa71c8

Please sign in to comment.