Skip to content

Commit d6ccf35

Browse files
archived articles
1 parent 7121274 commit d6ccf35

File tree

403 files changed

+48320
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

403 files changed

+48320
-0
lines changed
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: The Infinity's Infinity style Static site generator
2+
run-name: convert markdown and generate html
3+
on: push
4+
jobs:
5+
convert-markdown-and-generate-html:
6+
permissions:
7+
repository-projects: write
8+
contents: write
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v4
12+
- run: git pull
13+
- run: pip install markdown
14+
- run: python ./script/Infinity-style.py
15+
- run: python ./script/article-index.py
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
# Sample workflow for building and deploying a InfinitySpirit site to GitHub Pages
2+
name: Deploy InfinitySpirit with GitHub Pages dependencies preinstalled
3+
4+
on:
5+
# Runs on pushes targeting the default branch
6+
push:
7+
branches: ["main"]
8+
9+
# Allows you to run this workflow manually from the Actions tab
10+
workflow_dispatch:
11+
12+
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
13+
permissions:
14+
contents: read
15+
pages: write
16+
id-token: write
17+
18+
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
19+
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
20+
concurrency:
21+
group: "pages"
22+
cancel-in-progress: false
23+
24+
jobs:
25+
# InfinitySpirit Build
26+
build:
27+
permissions:
28+
repository-projects: write
29+
contents: write
30+
runs-on: ubuntu-latest
31+
steps:
32+
- uses: actions/checkout@v4
33+
- uses: actions/configure-pages@v5
34+
- run: git pull
35+
- run: pip install pygments
36+
- run: pip install markdown
37+
- run: git rm -rf InfinitySpirit
38+
- run: git clone https://github.com/The-Infinitys/InfinitySpirit.git
39+
- run: python InfinitySpirit
40+
- run: rsync -a ./ ./_site --exclude './_site'
41+
- uses: actions/upload-pages-artifact@v3
42+
43+
44+
# Deployment job
45+
deploy:
46+
environment:
47+
name: github-pages
48+
url: ${{ steps.deployment.outputs.page_url }}
49+
runs-on: ubuntu-latest
50+
needs: build
51+
steps:
52+
- name: Deploy to GitHub Pages
53+
id: deployment
54+
uses: actions/deploy-pages@v4
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
name: The-Infinitys_Blog-index
2+
run-name: making repository-index...
3+
on: push
4+
jobs:
5+
repository_index:
6+
permissions:
7+
repository-projects: write
8+
contents: write
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v4
12+
- run: python ./programs/repository-index.py

archive/2024/01/articles.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"articles": []
3+
}

archive/2024/02/articles.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"articles": []
3+
}

archive/2024/03/articles.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"articles": []
3+
}
860 Bytes
Loading
Lines changed: 44 additions & 0 deletions
Loading
Lines changed: 17 additions & 0 deletions
Loading
Lines changed: 6 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)