Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Anxinshengrikuaile patch #101

Open
wants to merge 9 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 43 additions & 0 deletions .github/workflows/static.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# Simple workflow for deploying static content to GitHub Pages
name: Deploy static content to Pages

on:
# Runs on pushes targeting the default branch
push:
branches: ["master"]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write

# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
concurrency:
group: "pages"
cancel-in-progress: false

jobs:
# Single deploy job since we're just deploying
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Pages
uses: actions/configure-pages@v3
- name: Upload artifact
uses: actions/upload-pages-artifact@v2
with:
# Upload entire repository
path: '.'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2
23 changes: 10 additions & 13 deletions config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,14 @@
var config = {
// 句子的长度可以任意, 你可以写十句话, 二十句话都可以
// 每句话尽量不要超过15个字,不然展示效果可能不太好
texts: [
"送给我", //这里,每句话结尾的最后一个逗号必须是英文的哦!! 很重要哦!!
"心爱的小可爱", // 同上...
texts: [ //这里,每句话结尾的最后一个逗号必须是英文的哦!! 很重要哦!!
"今天是你的生日",
"这是我们在一起的",
"第三个生日了哦",
"去年的生日",
"还记得在王婆串串吃的呢",
"今年要吃好的喽哦",
"要把我家可爱猪猪喂饱饱",
"然后抱走",
"YAMI~~",
"早上好呀",
"在新的一年",
"祝你16岁生日快乐",
" a small gift",
// 同上...

],
/**
* imgs 可以不填, 但是如果要填写的话必须遵循下面的格式
Expand All @@ -25,15 +21,16 @@ var config = {
* Tip: 图片最好用正方形or接近正方形, 看起来效果更好
*/
imgs: {
"心爱的小可爱": "./imgs/xiaokeai.png",
// "今天是你的生日": "./imgs/birthday.jpg",
" a small gift": "download.jpg",

},
// 按钮文字描述, 以下是默认的按钮文字,英文的,您可以改成你喜欢的文字
desc: {
turn_on: "开始",
play: "音乐",
bannar_coming: "颜色",
balloons_flying: "好像少点东西",
balloons_flying: "气球?"
cake_fadein: "蛋糕?",
light_candle: "蜡烛?",
wish_message: "生日快乐",
Expand Down
Binary file added imgs/download.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.