mirror of
https://github.com/dat515-2025/Group-8.git
synced 2026-03-22 06:57:47 +01:00
fix(infrastructure): use correct runner
This commit is contained in:
1
.github/workflows/deploy-pr.yaml
vendored
1
.github/workflows/deploy-pr.yaml
vendored
@@ -28,6 +28,7 @@ jobs:
|
||||
runner: vhs
|
||||
mode: pr
|
||||
pr_number: ${{ github.event.pull_request.number }}
|
||||
base_domain: ${{ vars.DEV_BASE_DOMAIN }}
|
||||
secrets: inherit
|
||||
|
||||
frontend:
|
||||
|
||||
9
.github/workflows/url_generator.yml
vendored
9
.github/workflows/url_generator.yml
vendored
@@ -16,9 +16,10 @@ on:
|
||||
required: false
|
||||
type: string
|
||||
default: 'ubuntu-latest'
|
||||
secrets:
|
||||
BASE_DOMAIN:
|
||||
required: false
|
||||
base_domain:
|
||||
description: 'The base domain for production URLs (e.g., example.com)'
|
||||
required: true
|
||||
type: string
|
||||
|
||||
outputs:
|
||||
backend_url:
|
||||
@@ -48,7 +49,7 @@ jobs:
|
||||
- name: Generate URLs
|
||||
id: set_urls
|
||||
env:
|
||||
BASE_DOMAIN: ${{ secrets.BASE_DOMAIN }}
|
||||
BASE_DOMAIN: ${{ inputs.base_domain }}
|
||||
run: |
|
||||
set -euo pipefail
|
||||
|
||||
|
||||
Reference in New Issue
Block a user