Skip to content

Commit 4d51bfc

Browse files
committed
merge origin/mod origin/qr-302 origin/feat/readme-autofind --no-commit --no-ff --no-squash
Signed-off-by: MadDogOwner <xiaoran@xrgzs.top>
4 parents 91004bd + b43c4f5 + 440e750 + 65d0362 commit 4d51bfc

File tree

15 files changed

+165
-498
lines changed

15 files changed

+165
-498
lines changed

.github/actions/sync_to_crowdin/action.yml

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

.github/workflows/build_pr.yml

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

.github/workflows/build_release.yml

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

.github/workflows/build_rolling.yml

Lines changed: 46 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
- name: Build Pre-release
4747
run: |
4848
chmod +x build.sh
49-
./build.sh --dev --compress
49+
./build.sh --dev --compress --skip-i18n
5050
env:
5151
CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID }}
5252
CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}
@@ -75,5 +75,50 @@ jobs:
7575
env:
7676
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
7777

78+
- name: Checkout dist repo
79+
uses: actions/checkout@v4
80+
with:
81+
ref: web-dist
82+
path: web-dist
83+
fetch-depth: 0
84+
85+
- name: Commit dist
86+
run: |
87+
cd web-dist
88+
# git rm -rf .
89+
# git update-ref -d HEAD
90+
cp -r ../dist .
91+
rm -f ./dist/*.tar.gz
92+
touch .nojekyll
93+
cat > edgeone.json <<EOF
94+
{
95+
"headers": [
96+
{
97+
"source": "/*",
98+
"headers": [
99+
{
100+
"key": "Access-Control-Allow-Origin",
101+
"value": "*"
102+
},
103+
{
104+
"key": "Access-Control-Allow-Methods",
105+
"value": "GET, OPTIONS"
106+
},
107+
{
108+
"key": "Access-Control-Allow-Headers",
109+
"value": "Content-Type"
110+
}
111+
]
112+
}
113+
]
114+
}
115+
EOF
116+
git config --local user.email "github-actions[bot]@users.noreply.github.com"
117+
git config --local user.name "github-actions[bot]"
118+
git add .
119+
git commit -m "upload dev dist $(date '+%Y-%m-%d %H:%M:%S')"
120+
git push --force
121+
cd ..
122+
78123
permissions:
79124
contents: write

.github/workflows/format.yml

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

0 commit comments

Comments
 (0)