mirror of
https://github.com/kiwix/kiwix-js-pwa.git
synced 2025-09-09 04:06:27 -04:00
Allow the dist folder to be included in gh-pages
This commit is contained in:
parent
2e067306fd
commit
174d058cbe
2
.github/workflows/publish-docker.yaml
vendored
2
.github/workflows/publish-docker.yaml
vendored
@ -79,6 +79,8 @@ jobs:
|
|||||||
echo "Publishing to GitHub pages..."
|
echo "Publishing to GitHub pages..."
|
||||||
git config user.name "GitHub Actions Bot"
|
git config user.name "GitHub Actions Bot"
|
||||||
git config user.email "<>"
|
git config user.email "<>"
|
||||||
|
# Delete gitignore entry for the dist folder
|
||||||
|
sed -i "/^\/dist\/$/d" .gitignore
|
||||||
if [ ! -z "$(git status --porcelain)" ]; then
|
if [ ! -z "$(git status --porcelain)" ]; then
|
||||||
git add .
|
git add .
|
||||||
git commit -m "Set GitHub Pages release version"
|
git commit -m "Set GitHub Pages release version"
|
||||||
|
1
.gitignore
vendored
1
.gitignore
vendored
@ -5,7 +5,6 @@
|
|||||||
_pkginfo.txt
|
_pkginfo.txt
|
||||||
/bld/
|
/bld/
|
||||||
/bin/
|
/bin/
|
||||||
/dist/
|
|
||||||
/BundleArtifacts/
|
/BundleArtifacts/
|
||||||
/dist/
|
/dist/
|
||||||
/archives/*.zim*
|
/archives/*.zim*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user