mirror of
https://github.com/dat515-2025/Group-8.git
synced 2026-03-22 06:57:47 +01:00
feat(infrastructure): add frontend, deploy to cloudflare
This commit is contained in:
16
.github/workflows/frontend-pages.yml
vendored
16
.github/workflows/frontend-pages.yml
vendored
@@ -24,22 +24,6 @@ on:
|
||||
deployed_url:
|
||||
description: 'URL of deployed frontend'
|
||||
value: ${{ jobs.deploy.outputs.deployed_url }}
|
||||
push:
|
||||
branches: [ "main" ]
|
||||
paths:
|
||||
- '7project/frontend/**'
|
||||
- '.github/workflows/frontend-pages.yml'
|
||||
pull_request:
|
||||
branches: [ "main" ]
|
||||
paths:
|
||||
- '7project/frontend/**'
|
||||
- '.github/workflows/frontend-pages.yml'
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
project_name:
|
||||
description: 'Cloudflare Pages project name (overrides default)'
|
||||
required: false
|
||||
type: string
|
||||
|
||||
# Required repository secrets:
|
||||
# CLOUDFLARE_API_TOKEN - API token with Pages:Edit (or Account:Workers Scripts:Edit) permissions
|
||||
|
||||
Reference in New Issue
Block a user