Skip to content

add daily bing picture for blog background #21

add daily bing picture for blog background

add daily bing picture for blog background #21

Workflow file for this run

name: Deploy Hexo
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Check Out
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 20
- name: Setup Git
run: |
git config --global user.name "mobeicanyue"
git config --global user.email "${{ secrets.EMAIL }}"
- name: Setup SSH Key
run: |
mkdir -p ~/.ssh
echo "${{ secrets.KEY }}" > ~/.ssh/id_ed25519
chmod 600 ~/.ssh/id_ed25519
- name: Install Dependencies
run: |
npm install -g hexo-cli
npm install hexo-deployer-git --save
npm install
- name: Build Site
run: |
export TZ='Asia/Shanghai'
npm run build
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
deploy_key: ${{ secrets.KEY }}
publish_dir: public
cname: blog.ovvv.top