Skip to content

Commit bb53ec2

Browse files
committed
refactor(pipeline): move scripts into .github directory
closer to the invoking workflow, simplify pipeline prevent pipeline scripts from being copied into GH pages site
1 parent f1f2a04 commit bb53ec2

File tree

6 files changed

+10
-10
lines changed

6 files changed

+10
-10
lines changed
File renamed without changes.
File renamed without changes.

.github/bin/repos/pipeline.sh

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#!/usr/bin/env bash
2+
set -eu
3+
4+
source=.github/bin/repos
5+
target=_data/repos.json
6+
7+
$source/get.sh | $source/filter.sh | $source/sort.sh > "$target"
8+
9+
echo "::set-output name=data_file::$target"
File renamed without changes.

.github/workflows/update-repo-data.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020

2121
- name: Update local repository data
2222
id: pipeline
23-
run: ./bin/pipeline.sh repos
23+
run: ./.github/bin/repos/pipeline.sh
2424

2525
- name: Commit updated data
2626
id: commit

bin/pipeline.sh

Lines changed: 0 additions & 9 deletions
This file was deleted.

0 commit comments

Comments
 (0)