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:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- main
|
- 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:
|
jobs:
|
||||||
deploy:
|
deploy:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
ref: ${{ inputs.ref }}
|
||||||
|
|
||||||
- uses: actions/setup-node@v4
|
- uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
@@ -23,8 +39,8 @@ jobs:
|
|||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
env:
|
env:
|
||||||
PUBLIC_CMS_URL: https://cms.pm86.de
|
PUBLIC_CMS_URL: ${{ inputs.public_cms_url }}
|
||||||
PUBLIC_SITE_URL: https://windwiderstand.de
|
PUBLIC_SITE_URL: ${{ inputs.public_site_url }}
|
||||||
run: yarn build
|
run: yarn build
|
||||||
|
|
||||||
- name: Deploy to Firebase
|
- name: Deploy to Firebase
|
||||||
|
|||||||
Reference in New Issue
Block a user