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

Dev #1

Merged
merged 4 commits into from
Sep 21, 2023
Merged
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
24 changes: 24 additions & 0 deletions .github/workflows/preview.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# https://vercel.com/guides/how-can-i-use-github-actions-with-vercel
# This workflow will;
# `vercel deploy --prebuilt`` skips the build step on Vercel and uploads the previously generated .vercel/output folder from the GitHub Action.Let’s create our Action by creating a new file `.github/workflows/preview.yaml`:
name: Vercel Preview Deployment
env:
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}
on:
push:
branches-ignore:
- main
jobs:
Deploy-Preview:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install Vercel CLI
run: npm install --global vercel@latest
- name: Pull Vercel Environment Information
run: vercel pull --yes --environment=preview --token=${{ secrets.VERCEL_TOKEN }}
- name: Build Project Artifacts
run: vercel build --token=${{ secrets.VERCEL_TOKEN }}
- name: Deploy Project Artifacts to Vercel
run: vercel deploy --prebuilt --token=${{ secrets.VERCEL_TOKEN }}
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,6 @@ public/
.deploy*/
_multiconfig.yml
.obsidian
# https://vercel.com/guides/how-can-i-use-github-actions-with-vercel
# 使用workflow进行自动部署应该
.vercel
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Shuang (Twist) Song 的主页

欢迎访问我的[个人博客主页](songshgeo.com)!

随笔内容同步更新到个人公众号“隅地”:

![FE8093A9-F48A-4782-99D2-C8967BF6D55E_4_5005_c](https://songshgeo-picgo-1302043007.cos.ap-beijing.myqcloud.com/uPic/FE8093A9-F48A-4782-99D2-C8967BF6D55E_4_5005_c.jpeg)
2 changes: 1 addition & 1 deletion themes/matery/_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ reward:
enable: true
title: 你的赏识是我前进的动力
wechat: /medias/reward/wechat.png
alipay: /medias/reward/alipay.jpg
alipay: /medias/reward/alipay.png

# Whether to activate the copyright information of the blog and author when copying the post content.
# minCharNumber: Approve copyright information by copying at least how many characters.
Expand Down
Binary file added themes/matery/source/medias/reward/alipay.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added themes/matery/source/medias/reward/wechat.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading