diff options
Diffstat (limited to '.forgejo/workflows/extract-data.yml')
| -rw-r--r-- | .forgejo/workflows/extract-data.yml | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/.forgejo/workflows/extract-data.yml b/.forgejo/workflows/extract-data.yml deleted file mode 100644 index cdefd691..00000000 --- a/.forgejo/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: docker - 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: https://github.com/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' |
