diff --git a/.gitea/workflows/demo.yaml b/.gitea/workflows/demo.yaml new file mode 100644 index 0000000..dee7798 --- /dev/null +++ b/.gitea/workflows/demo.yaml @@ -0,0 +1,24 @@ +name: 機器人報到測試 + +on: + push: + branches: + - main # 當程式碼推送到 main 分支時觸發 + +jobs: + test-job: + runs-on: ubuntu-latest # 對應您截圖中的標籤 + steps: + - name: 下載最新程式碼 + uses: actions/checkout@v4 + + - name: 機器人自我介紹與火力展示 + run: | + echo "🎉 報告老闆,RackNerd 機器人已成功接收任務!" + echo "當前執行路徑:" + pwd + echo "目前資料夾內容:" + ls -la + echo "-----------------------------------" + echo "🔍 系統記憶體狀態檢查:" + free -h \ No newline at end of file