File tree Expand file tree Collapse file tree 2 files changed +24
-1
lines changed
Expand file tree Collapse file tree 2 files changed +24
-1
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,11 @@ This repository contains various tools that we use to help with the process of m
1212
1313## Tools
1414
15- - [ checker] ( ./cmd/checker )
15+ - [ checker] ( ./cmd/checker ) : tools for our CI
16+ - [ git-sync] ( ./cmd/git-sync ) : pushes new cdnjs updates to the GitHub repo
17+ - [ process-version-host] ( ./cmd/process-version-host ) : listens for new versions and spawns container with [ process-version] .
18+ - [ process-version] ( ./cmd/process-version ) : processes new versions (organizes files, compresses, minifies etc)
19+ - [ r2-pump] ( ./cmd/r2-pump ) : pushes new cdnjs updates to the Cloudflare R2
1620
1721## Configuration
1822
Original file line number Diff line number Diff line change 1+ ## Build
2+
3+ Build git-sync:
4+ ```
5+ cd ./cmd/git-sync
6+ go build
7+ ```
8+
9+ ## Usage
10+
11+ Write last update marker file (can be found at https://github.com/cdnjs/cdnjs/blob/master/last-sync ):
12+ ```
13+ echo "2024-09-08T01:33:46.508Z" > /tmp/last-sync
14+ ```
15+
16+ Run git-sync:
17+ ```
18+ DEBUG=1 PUSH_FREQ=0 ./git-sync /tmp/last-sync cdnjs-outgoing-prod
19+ ```
You can’t perform that action at this time.
0 commit comments