From 0b27b416fe25f70560f83da53f36a30bb4ec0cf5 Mon Sep 17 00:00:00 2001 From: DwarfPunk Date: Sun, 30 Jun 2024 00:10:50 +0300 Subject: [PATCH] Gitea Actions Demo --- .gitea/workflows/gitea-actions-demo.yaml | 19 +++++++++++++++++++ README.md | 8 ++++++++ 2 files changed, 27 insertions(+) create mode 100644 .gitea/workflows/gitea-actions-demo.yaml create mode 100644 README.md diff --git a/.gitea/workflows/gitea-actions-demo.yaml b/.gitea/workflows/gitea-actions-demo.yaml new file mode 100644 index 0000000..1cc69fa --- /dev/null +++ b/.gitea/workflows/gitea-actions-demo.yaml @@ -0,0 +1,19 @@ +name: Gitea Actions Demo +run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀 +on: [push] + +jobs: + Explore-Gitea-Actions: + runs-on: ubuntu-act-latest + steps: + - run: echo "🎉 The job was automatically triggered by a ${{ gitea.event_name }} event." + - run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by Gitea!" + - run: echo "🔎 The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}." + - name: Check out repository code + uses: actions/checkout@v4 + - run: echo "💡 The ${{ gitea.repository }} repository has been cloned to the runner." + - run: echo "🖥️ The workflow is now ready to test your code on the runner." + - name: List files in the repository + run: | + ls ${{ gitea.workspace }} + - run: echo "🍏 This job's status is ${{ job.status }}." \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..f3fa361 --- /dev/null +++ b/README.md @@ -0,0 +1,8 @@ +# Gitea Actions Demo + +Gitea CI/CD solution. + +## Useful links +* [Docs](https://docs.gitea.com/usage/actions/overview) +* [Act runner](https://gitea.com/gitea/act_runner) +* [GitHub Actions docs](https://docs.github.com/en/actions) \ No newline at end of file