chore: untrack and ignore GitHub workflows

This commit is contained in:
tomasalias 2026-10-25 15:05:36 +01:00
parent d73474598a
commit 395947c58a
3 changed files with 2 additions and 128 deletions

View file

@ -1,65 +0,0 @@
name: Build Windows Executable
on:
push:
branches:
- master
- main
tags:
- 'v*'
pull_request:
branches:
- master
- main
workflow_dispatch:
permissions:
contents: write
jobs:
build:
name: Build BetterCurseForge.exe
runs-on: windows-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
cache: 'pip'
- name: Install build dependencies
run: |
python -m pip install --upgrade pip
python -m pip install pyinstaller pillow pywin32
- name: Build executable with PyInstaller
run: |
python -m PyInstaller BetterCurseForge.spec --noconfirm
- name: Verify build output
run: |
if (-not (Test-Path "dist/BetterCurseForge.exe")) {
Write-Error "dist/BetterCurseForge.exe was not created!"
exit 1
}
Get-Item "dist/BetterCurseForge.exe" | Select-Object Name, Length, LastWriteTime
- name: Upload executable artifact
uses: actions/upload-artifact@v4
with:
name: BetterCurseForge-Windows
path: dist/BetterCurseForge.exe
if-no-files-found: error
retention-days: 30
- name: Attach executable to GitHub Release
if: startsWith(github.ref, 'refs/tags/v')
uses: softprops/action-gh-release@v2
with:
files: dist/BetterCurseForge.exe
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

View file

@ -1,63 +0,0 @@
name: Deploy Documentation
on:
push:
branches:
- master
- main
paths:
- 'docs/**'
- '.github/workflows/deploy-docs.yml'
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: pages
cancel-in-progress: false
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
cache-dependency-path: docs/package-lock.json
- name: Setup Pages
uses: actions/configure-pages@v4
- name: Install documentation dependencies
run: npm ci
working-directory: docs
- name: Build VitePress documentation
run: npm run build
working-directory: docs
- name: Upload Pages artifact
uses: actions/upload-pages-artifact@v3
with:
path: docs/.vitepress/dist
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
needs: build
runs-on: ubuntu-latest
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4

2
.gitignore vendored
View file

@ -43,4 +43,6 @@ update_icon.bat
update_icon.py update_icon.py
docs_for_claude.json docs_for_claude.json
# GitHub workflows
.github/