Skip to content

Commit 5401d9c

Browse files
committed
pipeline / submission policy
1 parent 7093562 commit 5401d9c

78 files changed

Lines changed: 45 additions & 1877 deletions

File tree

Some content is hidden

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

.github/workflows/build-tip-v2.yml

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
name: Build and Deploy Tip V2
2+
3+
on:
4+
push:
5+
paths:
6+
- 'tip-v2-build/**'
7+
workflow_dispatch:
8+
9+
jobs:
10+
build-and-deploy:
11+
runs-on: ubuntu-latest
12+
permissions:
13+
contents: write
14+
steps:
15+
- name: Checkout repository
16+
uses: actions/checkout@v4
17+
18+
- name: Setup Node.js
19+
uses: actions/setup-node@v4
20+
with:
21+
node-version: '18'
22+
cache: 'npm'
23+
cache-dependency-path: tip-v2-build/package-lock.json
24+
25+
- name: Install dependencies
26+
working-directory: tip-v2-build
27+
run: npm ci
28+
29+
- name: Build tip-v2
30+
working-directory: tip-v2-build
31+
run: npm run build
32+
33+
- name: Commit and push changes
34+
run: |
35+
git config --global user.name 'github-actions[bot]'
36+
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
37+
git add tip-v2
38+
# Check if there are changes to commit
39+
if git diff --staged --quiet; then
40+
echo "No changes to commit"
41+
else
42+
git commit -m "Auto-build tip-v2 from tip-v2-build"
43+
git push
44+
fi

tip-v2-build/docs/submission-policy.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ The following types of files are strictly prohibited:
2020
- Junk files, such as images, videos, sound files, apk, text, or other files intended to spam or abuse the system (e.g., large files uploaded to disrupt operations).
2121
- Files designed as zip or archive bombs (e.g., files intended to consume excessive resources or disrupt system operations).
2222
- Files that contain or distrube illegal materials (videos, images, etc).
23+
- Password-protected files or archives (e.g., encrypted zip/rar/7z files or documents requiring a password to open).
2324
- Submitting always the same or bulk uploads of XMRIG or other cryptocurrency mining malware is strictly prohibited.
2425
- Mass uploading files that are older than 1 year (virustotal first submission).
2526
- Uploading clean, digitally signed, and well-known Microsoft system files.

tip-v2/.nojekyll

Whitespace-only changes.

tip-v2/404.html

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

tip-v2/api-docs-v1-old.html

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

tip-v2/api-docs-v1.html

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

tip-v2/assets/css/styles.287f7f91.css

Lines changed: 0 additions & 1 deletion
This file was deleted.

tip-v2/assets/js/0480b142.984a758c.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)