File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- # Disable all themes
2- encoding : " utf-8"
3- theme : " "
1+ name : Pobfus 0.7 Hybrid Deploy
42
5- # Tell Jekyll not to wrap things in HTML layouts
6- layout : none
3+ on :
4+ push :
5+ branches : [ "main" ]
76
8- # Basic Metadata
9- title : Raw Index
10- description : Plain text repository
7+ permissions :
8+ contents : read
9+ pages : write
10+ id-token : write
1111
12- # Ensure all file types are accessible
13- include : [".htaccess", "README.md", ".txt"]
12+ jobs :
13+ # JOB 1: Check the Python Reader (The "Slow" tool you kept)
14+ python-check :
15+ runs-on : ubuntu-latest
16+ steps :
17+ - uses : actions/checkout@v4
18+ - name : Set up Python
19+ uses : actions/setup-python@v4
20+ with :
21+ python-version : " 3.10"
22+ - name : Syntax Check
23+ run : |
24+ # This checks for errors without fully running the "slow" script
25+ python -m py_compile main_obf.py
26+
27+ # JOB 2: Deploy the Fast JS Website
28+ deploy-web :
29+ runs-on : ubuntu-latest
30+ needs : python-check # Only deploys if Python code isn't broken
31+ steps :
32+ - name : Checkout
33+ uses : actions/checkout@v4
34+ - name : Setup Pages
35+ uses : actions/configure-pages@v3
36+ - name : Upload artifact
37+ uses : actions/upload-pages-artifact@v2
38+ with :
39+ path : ' .' # Uploads index.html, style.css, script.js
40+ - name : Deploy to GitHub Pages
41+ id : deployment
42+ uses : actions/deploy-pages@v2
You can’t perform that action at this time.
0 commit comments