This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Check if the input file is provided | |
if [ "$#" -ne 1 ]; then | |
echo "Usage: $0 <input-file.xcf>" | |
exit 1 | |
fi | |
# Input XCF file | |
input_file="$1" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git checkout master && | |
git branch -D gh-pages && | |
git branch gh-pages && | |
git checkout gh-pages && | |
yarn install && | |
yarn build && | |
rm -rf node_modules public README.md src yarn.lock build-gh-pages.sh && | |
mv build/* ./ && | |
rm -rf build && | |
git add . && |