[GitHub] [Docs] Update github-pages.yml to add the files into the right subdirectory (#6500)

This commit is contained in:
Bertie690 2025-09-06 11:39:09 -04:00 committed by GitHub
parent d18f77bea9
commit 21aa40e46a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -77,9 +77,7 @@ jobs:
cd pokerogue_gh
git config user.email "github-actions[bot]@users.noreply.github.com"
git config user.name "github-actions[bot]"
mkdir -p $GITHUB_REF_NAME
rm -rf $GITHUB_REF_NAME/*
cp -r /tmp/docs $GITHUB_REF_NAME
mv -f /tmp/docs $GITHUB_REF_NAME
git add $GITHUB_REF_NAME
git commit -m "[skip ci] Deploy docs"
git push