added cicd.yaml
This commit is contained in:
20
.gitea/workflows/cicd.yaml
Normal file
20
.gitea/workflows/cicd.yaml
Normal file
@@ -0,0 +1,20 @@
|
||||
name: Hello from Gitea Actions
|
||||
|
||||
on:
|
||||
push: # run on every push
|
||||
branches:
|
||||
- main # adjust if your default branch is different
|
||||
|
||||
jobs:
|
||||
hello:
|
||||
runs-on: devops # must match your runner's label
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Say hello
|
||||
run: |
|
||||
echo "Hello from Gitea Actions!"
|
||||
echo "Runner: ${{ runner.name }}"
|
||||
echo "Repo: ${{ gitea.repository }}"
|
||||
|
||||
Reference in New Issue
Block a user