install nodejs

This commit is contained in:
2025-09-09 14:57:58 -04:00
parent 0dcd132355
commit 58f83a8523
3 changed files with 50 additions and 3 deletions
+33
View File
@@ -0,0 +1,33 @@
#!/bin/bash
echo "Removing .github directory from repository..."
# Check if .github directory exists
if [ -d ".github" ]; then
echo ".github directory found, removing it..."
git rm -rf .github/
git commit -m "Remove GitHub workflows - migrated to Gitea"
echo ".github directory removed and committed"
echo "Don't forget to run: git push"
else
echo ".github directory not found in current directory"
fi
# Check if it's already in .gitignore
if grep -q "^\.github/" .gitignore; then
echo ".github/ is already in .gitignore"
else
echo "Adding .github/ to .gitignore..."
echo "" >> .gitignore
echo "# Ignore GitHub workflows (using Gitea instead)" >> .gitignore
echo ".github/" >> .gitignore
git add .gitignore
git commit -m "Add .github/ to .gitignore"
echo "Added .github/ to .gitignore"
fi
echo ""
echo "Next steps:"
echo "1. Run: git push"
echo "2. Make sure Node.js is installed on your Gitea runner host"
echo "3. Test your pipeline by making a small commit"