1
1

WIP
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 10s
Gitea Actions Demo / build-site (push) Successful in 10s

This commit is contained in:
2026-01-03 02:42:53 -05:00
parent 03b1559134
commit 2e358e0bf6
2 changed files with 7 additions and 7 deletions

View File

@@ -1,5 +1,5 @@
name: Gitea Actions Demo name: Gitea Actions Demo
run-name: ${{ forgejo.actor }} is testing out Gitea Actions 🚀 run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀
on: [push] on: [push]
jobs: jobs:
@@ -8,16 +8,16 @@ jobs:
container: container:
image: "node:23" image: "node:23"
steps: steps:
- run: echo "🎉 The job was automatically triggered by a ${{ forgejo.event_name }} event." - 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 "🐧 This job is now running on a ${{ runner.os }} server hosted by Gitea!"
- run: echo "🔎 The name of your branch is ${{ forgejo.ref }} and your repository is ${{ forgejo.repository }}." - run: echo "🔎 The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}."
- name: Check out repository code - name: Check out repository code
uses: https://data.forgejo.org/actions/checkout@v4 uses: actions/checkout@v4
- run: echo "💡 The ${{ forgejo.repository }} repository has been cloned to the runner." - 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." - run: echo "🖥️ The workflow is now ready to test your code on the runner."
- name: List files in the repository - name: List files in the repository
run: | run: |
ls ${{ forgejo.workspace }} ls ${{ gitea.workspace }}
- run: echo "🍏 This job's status is ${{ job.status }}." - run: echo "🍏 This job's status is ${{ job.status }}."
build-site: build-site:
runs-on: debian-latest runs-on: debian-latest

View File

@@ -23,7 +23,7 @@ in
}; };
services.gitea-actions-runner = { services.gitea-actions-runner = {
package = pkgs.forgejo-runner; # package = pkgs.forgejo-runner;
instances.default = { instances.default = {
enable = true; enable = true;
name = "linode-nixos"; name = "linode-nixos";