main #5
@@ -3,15 +3,16 @@ run-name: "Start example action"
|
||||
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- v*.*.*
|
||||
|
||||
jobs:
|
||||
second-job:
|
||||
runs-on: golang
|
||||
steps:
|
||||
- run: |
|
||||
|
||||
if [ ${{ gitea.actor }} == 'wwitchq' ]; then
|
||||
echo "Hello, ${{ gitea.actor }}"
|
||||
else
|
||||
echo "Hello, Violetta"
|
||||
fi
|
||||
fi
|
||||
|
||||
@@ -26,4 +26,3 @@ jobs:
|
||||
- name: Echo test
|
||||
if: contains(github.event.issue.labels.*.name, 'bug')
|
||||
run: echo "${{ toJson(github.event.issue) }}"
|
||||
|
||||
|
||||
19
.gitea/workflows/example-dispatch.yaml
Normal file
19
.gitea/workflows/example-dispatch.yaml
Normal file
@@ -0,0 +1,19 @@
|
||||
name: "Example dispatch"
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
echo-test:
|
||||
runs-on: docker # docker, sirius или golang
|
||||
|
||||
steps:
|
||||
# Выводим текстовое сообщение
|
||||
- name: Echo test
|
||||
run: echo "Hello!"
|
||||
|
||||
- name: Install kubectl action
|
||||
uses: tale/kubectl-action@v1
|
||||
with:
|
||||
base64-kube-config: ${{ secrets.KUBE_CONFIG }}
|
||||
- run: kubectl get pods
|
||||
1
issue.json
Normal file
1
issue.json
Normal file
@@ -0,0 +1 @@
|
||||
hjkdshf ahsldf
|
||||
@@ -1 +0,0 @@
|
||||
uraaaaaa
|
||||
4
test.txt
Normal file
4
test.txt
Normal file
@@ -0,0 +1,4 @@
|
||||
hdjksfh adhsjfk hadslkjh
|
||||
jkfbjkasdbf asdj fhaksdj hf jklasdl
|
||||
|
||||
sakfdh kashf khaslfkh aksdfhljh
|
||||
Reference in New Issue
Block a user