chore(ci): rename build workflow and update branch targets

Renamed 'build.yml' to 'build-dev.yml' to clarify its purpose for development builds. Updated branch triggers and orphan branch naming to 'dev' and 'pages-dev' respectively to distinguish development deployment processes from production. This enhances workflow clarity and separation of concerns in CI/CD practices.
This commit is contained in:
Kumi 2024-07-01 10:27:21 +02:00
parent 22cea7ea5c
commit ae2742ca58
Signed by: kumi
GPG key ID: ECBCC9082395383F

View file

@ -3,7 +3,7 @@ name: Build and Deploy Static Site
on:
push:
branches:
- static
- dev
jobs:
build:
@ -31,8 +31,8 @@ jobs:
# Move generated static site files to a temporary location
mv build ../static_site_temp
# Create a new orphan branch named 'pages'
git checkout --orphan pages
# Create a new orphan branch named 'pages-dev'
git checkout --orphan pages-dev
# Remove all files from the working directory
git rm -rf .