From 893ac470c319f216b43be95f1d990f81cf62ae7f Mon Sep 17 00:00:00 2001 From: Artyom Ashirov <1323ED5@gmail.com> Date: Thu, 14 Nov 2024 17:31:29 +0300 Subject: [PATCH 1/3] pipelines initial --- workflow-demo.yaml | 13 +++++++++++++ workflow-dev.yaml | 13 +++++++++++++ workflow-prod.yaml | 13 +++++++++++++ 3 files changed, 39 insertions(+) create mode 100644 workflow-demo.yaml create mode 100644 workflow-dev.yaml create mode 100644 workflow-prod.yaml diff --git a/workflow-demo.yaml b/workflow-demo.yaml new file mode 100644 index 0000000..890f944 --- /dev/null +++ b/workflow-demo.yaml @@ -0,0 +1,13 @@ +name: "Telegram Shop Bot CI [DEMO]" +on: + push: + branches: ["demo"] + pull_request: + branches: ["demo"] + +jobs: + lint: + runs-on: node:22-alpine + steps: + - name: Checkout code + uses: actions/checkout@v3 \ No newline at end of file diff --git a/workflow-dev.yaml b/workflow-dev.yaml new file mode 100644 index 0000000..c56b602 --- /dev/null +++ b/workflow-dev.yaml @@ -0,0 +1,13 @@ +name: "Telegram Shop Bot CI [DEV]" +on: + push: + branches: ["dev"] + pull_request: + branches: ["dev"] + +jobs: + lint: + runs-on: node:22-alpine + steps: + - name: Checkout code + uses: actions/checkout@v3 \ No newline at end of file diff --git a/workflow-prod.yaml b/workflow-prod.yaml new file mode 100644 index 0000000..429055f --- /dev/null +++ b/workflow-prod.yaml @@ -0,0 +1,13 @@ +name: "Telegram Shop Bot CI [PROD]" +on: + push: + branches: ["prod"] + pull_request: + branches: ["prod"] + +jobs: + lint: + runs-on: node:22-alpine + steps: + - name: Checkout code + uses: actions/checkout@v3 \ No newline at end of file From 6de9ef1aa94626965269aef7702c289c536f2c8a Mon Sep 17 00:00:00 2001 From: Artyom Ashirov <1323ED5@gmail.com> Date: Thu, 14 Nov 2024 17:35:55 +0300 Subject: [PATCH 2/3] workflows folder --- workflow-demo.yaml => .gitea/workflows/workflow-demo.yaml | 0 workflow-dev.yaml => .gitea/workflows/workflow-dev.yaml | 0 workflow-prod.yaml => .gitea/workflows/workflow-prod.yaml | 0 3 files changed, 0 insertions(+), 0 deletions(-) rename workflow-demo.yaml => .gitea/workflows/workflow-demo.yaml (100%) rename workflow-dev.yaml => .gitea/workflows/workflow-dev.yaml (100%) rename workflow-prod.yaml => .gitea/workflows/workflow-prod.yaml (100%) diff --git a/workflow-demo.yaml b/.gitea/workflows/workflow-demo.yaml similarity index 100% rename from workflow-demo.yaml rename to .gitea/workflows/workflow-demo.yaml diff --git a/workflow-dev.yaml b/.gitea/workflows/workflow-dev.yaml similarity index 100% rename from workflow-dev.yaml rename to .gitea/workflows/workflow-dev.yaml diff --git a/workflow-prod.yaml b/.gitea/workflows/workflow-prod.yaml similarity index 100% rename from workflow-prod.yaml rename to .gitea/workflows/workflow-prod.yaml From 7825b801a07a4485c8cbadda6d8b909ce1d820f6 Mon Sep 17 00:00:00 2001 From: Artyom Ashirov <1323ED5@gmail.com> Date: Thu, 14 Nov 2024 17:38:18 +0300 Subject: [PATCH 3/3] short names for workflows --- .gitea/workflows/{workflow-demo.yaml => demo.yaml} | 0 .gitea/workflows/{workflow-dev.yaml => dev.yaml} | 0 .gitea/workflows/{workflow-prod.yaml => prod.yaml} | 0 3 files changed, 0 insertions(+), 0 deletions(-) rename .gitea/workflows/{workflow-demo.yaml => demo.yaml} (100%) rename .gitea/workflows/{workflow-dev.yaml => dev.yaml} (100%) rename .gitea/workflows/{workflow-prod.yaml => prod.yaml} (100%) diff --git a/.gitea/workflows/workflow-demo.yaml b/.gitea/workflows/demo.yaml similarity index 100% rename from .gitea/workflows/workflow-demo.yaml rename to .gitea/workflows/demo.yaml diff --git a/.gitea/workflows/workflow-dev.yaml b/.gitea/workflows/dev.yaml similarity index 100% rename from .gitea/workflows/workflow-dev.yaml rename to .gitea/workflows/dev.yaml diff --git a/.gitea/workflows/workflow-prod.yaml b/.gitea/workflows/prod.yaml similarity index 100% rename from .gitea/workflows/workflow-prod.yaml rename to .gitea/workflows/prod.yaml