Migrate prod:deploy to standalone script
This commit is contained in:
@@ -84,7 +84,7 @@ jobs:
|
||||
- uses: actions/checkout@v5
|
||||
- uses: gacts/install-hurl@v1
|
||||
- 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:
|
||||
HURL_coolify_token: ${{ secrets.COOLIFY_TOKEN }}
|
||||
HURL_coolify_host: ${{ vars.COOLIFY_HOST }}
|
||||
|
||||
@@ -37,12 +37,6 @@ run = 'rm data/music_library_prod*'
|
||||
description = 'Run HTTP tests against production'
|
||||
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
|
||||
|
||||
[tasks.test]
|
||||
|
||||
Executable
+8
@@ -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
|
||||
Reference in New Issue
Block a user