Add workflow inputs for branch and URL configuration in Gitea Actions deployment
Deploy to Firebase Hosting / deploy (push) Failing after 1m24s
Deploy to Firebase Hosting / deploy (push) Failing after 1m24s
This commit is contained in:
@@ -4,12 +4,28 @@ on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
ref:
|
||||
description: "Branch/Ref ausführen"
|
||||
required: false
|
||||
default: "main"
|
||||
public_cms_url:
|
||||
description: "PUBLIC_CMS_URL"
|
||||
required: false
|
||||
default: "https://cms.pm86.de"
|
||||
public_site_url:
|
||||
description: "PUBLIC_SITE_URL"
|
||||
required: false
|
||||
default: "https://windwiderstand.de"
|
||||
|
||||
jobs:
|
||||
deploy:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
ref: ${{ inputs.ref }}
|
||||
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
@@ -23,8 +39,8 @@ jobs:
|
||||
|
||||
- name: Build
|
||||
env:
|
||||
PUBLIC_CMS_URL: https://cms.pm86.de
|
||||
PUBLIC_SITE_URL: https://windwiderstand.de
|
||||
PUBLIC_CMS_URL: ${{ inputs.public_cms_url }}
|
||||
PUBLIC_SITE_URL: ${{ inputs.public_site_url }}
|
||||
run: yarn build
|
||||
|
||||
- name: Deploy to Firebase
|
||||
|
||||
Reference in New Issue
Block a user