Skip to content

Commit

Permalink
Merge branch 'refs/heads/dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
zyronon committed Apr 19, 2024
2 parents bf42a5f + 5d81e4e commit a793cdd
Show file tree
Hide file tree
Showing 221 changed files with 682 additions and 554 deletions.
10 changes: 9 additions & 1 deletion .github/workflows/deploy-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,4 +56,12 @@ jobs:
path: './dist'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1
uses: actions/deploy-pages@v1

- name: Sync to Gitee
uses: wearerequired/git-mirror-action@master
env:
SSH_PRIVATE_KEY: ${{ secrets.GITEE_PRIVATE_KEY }}
with:
source-repo: [email protected]:zyronon/douyin.git
destination-repo: [email protected]:zyronon/douyin.git
72 changes: 36 additions & 36 deletions .github/workflows/readme.yml
Original file line number Diff line number Diff line change
@@ -1,36 +1,36 @@
name: Translate README

on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup Node.js
uses: actions/setup-node@v1
with:
node-version: 12.x
# ISO Langusge Codes: https://cloud.google.com/translate/docs/languages
- name: Adding README - English
uses: dephraiim/translate-readme@main
with:
LANG: en
- name: Adding README - Japanese
uses: dephraiim/translate-readme@main
with:
LANG: ja
- name: Adding README - German
uses: dephraiim/translate-readme@main
with:
LANG: de
- name: Adding README - French
uses: dephraiim/translate-readme@main
with:
LANG: fr
- name: Adding README - Spanish
uses: dephraiim/translate-readme@main
with:
LANG: es
#name: Translate README
#
#on:
# push:
# branches:
# - master
#jobs:
# build:
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v2
# - name: Setup Node.js
# uses: actions/setup-node@v1
# with:
# node-version: 12.x
# # ISO Langusge Codes: https://cloud.google.com/translate/docs/languages
# - name: Adding README - English
# uses: dephraiim/translate-readme@main
# with:
# LANG: en
# - name: Adding README - Japanese
# uses: dephraiim/translate-readme@main
# with:
# LANG: ja
# - name: Adding README - German
# uses: dephraiim/translate-readme@main
# with:
# LANG: de
# - name: Adding README - French
# uses: dephraiim/translate-readme@main
# with:
# LANG: fr
# - name: Adding README - Spanish
# uses: dephraiim/translate-readme@main
# with:
# LANG: es
1 change: 1 addition & 0 deletions env/.env.gitee_pages
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
VITE_ENV = "GITEE_PAGES"
2 changes: 1 addition & 1 deletion node/rename.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ dirs.forEach((dictName) => {

function formatDict(dir, name) {
let filePath = dir + name
fs.copyFile(filePath, save + name.replace('.webp', '.png'), () => {})
fs.copyFile(filePath, save + name.replace('.jpg', '.png'), () => {})
}
Loading

0 comments on commit a793cdd

Please sign in to comment.