diff --git a/.gitea/workflows/example-action.yaml b/.gitea/workflows/example-action.yaml index 1d97a19..39bed47 100644 --- a/.gitea/workflows/example-action.yaml +++ b/.gitea/workflows/example-action.yaml @@ -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 \ No newline at end of file + fi diff --git a/.gitea/workflows/example-condition.yaml b/.gitea/workflows/example-condition.yaml index e47818c..af471f8 100644 --- a/.gitea/workflows/example-condition.yaml +++ b/.gitea/workflows/example-condition.yaml @@ -26,4 +26,3 @@ jobs: - name: Echo test if: contains(github.event.issue.labels.*.name, 'bug') run: echo "${{ toJson(github.event.issue) }}" - diff --git a/.gitea/workflows/example-dispatch.yaml b/.gitea/workflows/example-dispatch.yaml new file mode 100644 index 0000000..d74cf98 --- /dev/null +++ b/.gitea/workflows/example-dispatch.yaml @@ -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 diff --git a/issue.json b/issue.json new file mode 100644 index 0000000..5fd680c --- /dev/null +++ b/issue.json @@ -0,0 +1 @@ +hjkdshf ahsldf \ No newline at end of file diff --git a/services.txt b/services.txt deleted file mode 100644 index b4f0ec4..0000000 --- a/services.txt +++ /dev/null @@ -1 +0,0 @@ -uraaaaaa \ No newline at end of file diff --git a/test.txt b/test.txt new file mode 100644 index 0000000..5005bd2 --- /dev/null +++ b/test.txt @@ -0,0 +1,4 @@ +hdjksfh adhsjfk hadslkjh +jkfbjkasdbf asdj fhaksdj hf jklasdl + +sakfdh kashf khaslfkh aksdfhljh \ No newline at end of file diff --git a/text.txt b/text.txt deleted file mode 100644 index 9de6ed3..0000000 --- a/text.txt +++ /dev/null @@ -1,2 +0,0 @@ -hello -good \ No newline at end of file