Migrate prod:deploy to standalone script

This commit is contained in:
Claudio Ortolina
2025-10-07 01:16:19 +03:00
parent 0803361a2a
commit c06afe631a
4 changed files with 9 additions and 7 deletions
+1 -1
View File
@@ -84,7 +84,7 @@ jobs:
- uses: actions/checkout@v5 - uses: actions/checkout@v5
- uses: gacts/install-hurl@v1 - uses: gacts/install-hurl@v1
- name: 🚀 Deploy to production - name: 🚀 Deploy to production
run: hurl --test --report-tap deploy.tap scripts/deploy.hurl run: hurl --test --report-tap deploy.tap scripts/prod/deploy.hurl
env: env:
HURL_coolify_token: ${{ secrets.COOLIFY_TOKEN }} HURL_coolify_token: ${{ secrets.COOLIFY_TOKEN }}
HURL_coolify_host: ${{ vars.COOLIFY_HOST }} HURL_coolify_host: ${{ vars.COOLIFY_HOST }}
-6
View File
@@ -37,12 +37,6 @@ run = 'rm data/music_library_prod*'
description = 'Run HTTP tests against production' description = 'Run HTTP tests against production'
run = 'hurl --test test/prod.hurl' run = 'hurl --test test/prod.hurl'
[tasks."prod:deploy"]
description = 'Deploy on production and monitor'
run = """
hurl --test --progress-bar scripts/deploy.hurl
"""
# DEVELOPMENT/TEST # DEVELOPMENT/TEST
[tasks.test] [tasks.test]
+8
View File
@@ -0,0 +1,8 @@
#!/usr/bin/env bash
#MISE description="Deploy on production and monitor deployment"
#MISE confirm="Are you sure you want to deploy to production?"
set -e
hurl --test --progress-bar scripts/prod/deploy.hurl