Skip to content

Commit

Permalink
Merge pull request #1 from SongshGeo/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
SongshGeo authored Sep 21, 2023
2 parents 88c0227 + 5d64d5c commit f45fc54
Show file tree
Hide file tree
Showing 6 changed files with 35 additions and 1 deletion.
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.

0 comments on commit f45fc54

Please sign in to comment.