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:
parent
22cea7ea5c
commit
ae2742ca58
1 changed files with 3 additions and 3 deletions
|
@ -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 .
|
Loading…
Reference in a new issue