diff --git a/.github/workflows/static.yml b/.github/workflows/static.yml new file mode 100644 index 000000000..73bc4230c --- /dev/null +++ b/.github/workflows/static.yml @@ -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 diff --git a/config.js b/config.js index db8a5ba23..d487c785a 100644 --- a/config.js +++ b/config.js @@ -2,18 +2,14 @@ var config = { // 句子的长度可以任意, 你可以写十句话, 二十句话都可以 // 每句话尽量不要超过15个字,不然展示效果可能不太好 - texts: [ - "送给我", //这里,每句话结尾的最后一个逗号必须是英文的哦!! 很重要哦!! - "心爱的小可爱", // 同上... + texts: [ //这里,每句话结尾的最后一个逗号必须是英文的哦!! 很重要哦!! "今天是你的生日", - "这是我们在一起的", - "第三个生日了哦", - "去年的生日", - "还记得在王婆串串吃的呢", - "今年要吃好的喽哦", - "要把我家可爱猪猪喂饱饱", - "然后抱走", - "YAMI~~", + "早上好呀", + "在新的一年", + "祝你16岁生日快乐", + " a small gift", +// 同上... + ], /** * imgs 可以不填, 但是如果要填写的话必须遵循下面的格式 @@ -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: "生日快乐", diff --git a/imgs/download.jpg b/imgs/download.jpg new file mode 100644 index 000000000..66a207541 Binary files /dev/null and b/imgs/download.jpg differ