From 79ad681a96c942285ad8370c710c476a710acc49 Mon Sep 17 00:00:00 2001 From: root Date: Wed, 13 Dec 2023 18:19:00 +0800 Subject: [PATCH] Add .gitea/workflows/job1.yaml --- .gitea/workflows/job1.yaml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .gitea/workflows/job1.yaml diff --git a/.gitea/workflows/job1.yaml b/.gitea/workflows/job1.yaml new file mode 100644 index 0000000..57bf736 --- /dev/null +++ b/.gitea/workflows/job1.yaml @@ -0,0 +1,27 @@ +name: Gitea Actions Demo +run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀 +on: + push: + branches: + - main + - master + schedule: + - cron: '@hourly' +jobs: + Explore-Gitea-Actions: + runs-on: runner + steps: + - run: | + echo "🎉 The job was automatically triggered by a ${{ gitea.event_name }} event." + echo "🐧 This job is now running on a ${{ runner.os }} server hosted by Gitea!" + echo "🔎 The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}." + echo "💡 The ${{ gitea.repository }} repository has been cloned to the runner." + echo "🖥️ The workflow is now ready to test your code on the runner." + - name: Check out repository code + uses: actions/checkout@v4 + + - name: List files in the repository + run: | + ls -l + curl -v www.homeinfra.org + - run: echo "🍏 This job's status is ${{ job.status }}." \ No newline at end of file