hexo/.gitea/workflows/demo.yaml

14 lines
493 B
YAML
Raw Normal View History

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:23:42 +08:00
- run: HOME=/root/yhehe && git config --global user.email "penndu@outlook.com"
- run: HOME=/root/yhehe && git config --global user.name "Teacher Du"
2025-02-08 11:24:17 +08:00
- run: cd /root/yhehe && hexo d