main #5

Open
wwitchq wants to merge 2 commits from wwitchq/actions-laba-1-v:main into main
7 changed files with 27 additions and 6 deletions
Showing only changes of commit 6fdda1a47f - Show all commits

View File

@@ -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

View File

@@ -26,4 +26,3 @@ jobs:
- name: Echo test
if: contains(github.event.issue.labels.*.name, 'bug')
run: echo "${{ toJson(github.event.issue) }}"

View 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
View File

@@ -0,0 +1 @@
hjkdshf ahsldf

View File

@@ -1 +0,0 @@
uraaaaaa

4
test.txt Normal file
View File

@@ -0,0 +1,4 @@
hdjksfh adhsjfk hadslkjh
jkfbjkasdbf asdj fhaksdj hf jklasdl
sakfdh kashf khaslfkh aksdfhljh

View File

@@ -1,2 +0,0 @@
hello
good