From f40fa9832bf6df2a026981c8698cce1e331ac69e Mon Sep 17 00:00:00 2001 From: Agnieszka Rudek <61757744+Blusia@users.noreply.github.com> Date: Mon, 23 Sep 2024 13:54:56 +0200 Subject: [PATCH] #145 - deploy init (#156) - deploy init --- .github/workflows/deploy-to-prod.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/deploy-to-prod.yml diff --git a/.github/workflows/deploy-to-prod.yml b/.github/workflows/deploy-to-prod.yml new file mode 100644 index 0000000..7740290 --- /dev/null +++ b/.github/workflows/deploy-to-prod.yml @@ -0,0 +1,23 @@ +name: Deploy to production init + +concurrency: + group: deploy-prod + cancel-in-progress: false + +on: + workflow_dispatch: + +jobs: + deploy: + environment: production + runs-on: ubuntu-22.04 + name: Deploy to production + env: + DOCKER_REGISTRY: ghcr.io + DOCKER_REGISTRY_USER_NAME: blumilkbot + REPO_NAME: ${{ github.event.repository.name }} + REPO_OWNER: ${{ github.repository_owner }} + TARGET_DIR_ON_SERVER: /blumilk/production + steps: + - name: checkout + uses: actions/checkout@v4.1.1