summaryrefslogtreecommitdiff
path: root/.github/workflows/extract-data.yml
diff options
context:
space:
mode:
authorBigCoke233 <hi@guhub.cn>2026-01-28 20:43:14 +0800
committerBigCoke233 <hi@guhub.cn>2026-01-28 20:43:14 +0800
commit0640b427588ba5452be4e253292ec02e1b887ff6 (patch)
tree3887d4c4cb989bb0431d9c07a5a967302b76ae69 /.github/workflows/extract-data.yml
parent42afeaf395bff38c5870f121026798739240c7e2 (diff)
chore: migrate GitHub Actions to Forgejo
also: - remove unused workflows - remove GitHub issue templates
Diffstat (limited to '.github/workflows/extract-data.yml')
-rw-r--r--.github/workflows/extract-data.yml43
1 files changed, 0 insertions, 43 deletions
diff --git a/.github/workflows/extract-data.yml b/.github/workflows/extract-data.yml
deleted file mode 100644
index 968ab16c..00000000
--- a/.github/workflows/extract-data.yml
+++ /dev/null
@@ -1,43 +0,0 @@
-name: Extract Data from Content
-
-on:
- push:
- branches:
- - master
- paths:
- - 'content/**/*.md'
- - 'scripts/*.go'
- workflow_dispatch:
-
-# Prevent concurrent runs to avoid conflicts
-concurrency:
- group: data-extraction
- cancel-in-progress: true
-
-jobs:
- extract-data:
- name: Extract Data from Content
- runs-on: ubuntu-latest
- steps:
- - name: Checkout repository
- uses: actions/checkout@v4
-
- - name: Setup Go
- uses: actions/setup-go@v5
- with:
- go-version: '1.21'
-
- - name: Extract highlights
- run: go run scripts/extract_highlights.go
-
- - name: Generate external link rank
- run: go run scripts/get_external_link_rank.go
-
- - name: Generate internal link graph
- run: go run scripts/get_internal_link_graph.go
-
- - name: Commit all data
- uses: stefanzweifel/git-auto-commit-action@v5
- with:
- commit_message: 'chore: update data from scripts'
- file_pattern: 'data/highlights.json data/externallinks.json static/link-graph.json'