2025-02-08 11:24:17 +08:00
|
|
|
name: Gitea Actions Demo
|
|
|
|
run-name: ${{ gitea.actor }} is testing out Gitea Actions
|
|
|
|
on: [push]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
Explore-Gitea-Actions:
|
|
|
|
runs-on: self-hosted
|
|
|
|
steps:
|
|
|
|
- run: cd /root/yhehe && git pull origin main
|
|
|
|
- run: cd /root/yhehe && hexo cl
|
|
|
|
- run: cd /root/yhehe && hexo g
|
2025-02-08 12:25:00 +08:00
|
|
|
- run: git config --system user.email "penndu@outlook.com"
|
|
|
|
- run: git config --system user.name "Teacher Du"
|
2025-02-08 11:24:17 +08:00
|
|
|
- run: cd /root/yhehe && hexo d
|