mirror of
https://github.com/shadoll/sLogos.git
synced 2025-12-20 04:27:59 +00:00
fix: Remove redundant CNAME copy step from GitHub Actions workflow
This commit is contained in:
8
.github/workflows/gh-pages.yml
vendored
8
.github/workflows/gh-pages.yml
vendored
@@ -28,18 +28,12 @@ jobs:
|
||||
- name: Build project
|
||||
run: npm run build
|
||||
|
||||
- name: Copy CNAME (if exists)
|
||||
run: |
|
||||
if [ -f public/CNAME ]; then
|
||||
cp public/CNAME public/build/CNAME
|
||||
fi
|
||||
|
||||
- name: Prepare Pages artifact
|
||||
run: |
|
||||
mkdir -p ./gh-pages-artifact
|
||||
cp -r public/build/* ./gh-pages-artifact/
|
||||
if [ -f public/CNAME ]; then
|
||||
cp public/CNAME ./gh-pages-artifact/CNAME
|
||||
cp public/CNAME ./gh-pages-artifact/CNAME
|
||||
fi
|
||||
|
||||
- name: Upload artifact
|
||||
|
||||
Reference in New Issue
Block a user