From 23841a485d494274e4df1f7e3ebf75c20e35cfc7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anne=20L=27H=C3=B4te?= Date: Tue, 7 May 2024 10:16:33 +0200 Subject: [PATCH] chore(ci/cd): Clean github workflows --- .github/workflows/production.yml | 12 ++++++------ .github/workflows/staging.yml | 8 ++++---- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/production.yml b/.github/workflows/production.yml index bf1eaf67..a9b0ebc0 100644 --- a/.github/workflows/production.yml +++ b/.github/workflows/production.yml @@ -14,7 +14,7 @@ env: jobs: publish-ghcr: - name: Publish docker image + name: Build & publish Docker image runs-on: ubuntu-latest steps: - name: 🏁 Checkout @@ -46,7 +46,7 @@ jobs: docker push -a $IMAGE_ID release: - name: Create new Github release + name: Create new release runs-on: ubuntu-latest needs: publish-ghcr steps: @@ -59,7 +59,7 @@ jobs: id: tag run: echo "tag=${GITHUB_REF#refs/tags/}" >> $GITHUB_OUTPUT - - name: Create changelog text + - name: 📄 Create changelog id: changelog uses: loopwerk/tag-changelog@v1 with: @@ -80,8 +80,7 @@ jobs: runs-on: ubuntu-latest needs: release steps: - - name: Deploy to Cluster - id: kubectl-deploy + - name: 🌥️ Deployment uses: dataesr/kubectl-deploy@v1.1 env: KUBE_CONFIG: ${{ secrets.KUBE_CONFIG_DOAD_PROD }} @@ -94,7 +93,8 @@ jobs: if: always() runs-on: ubuntu-latest steps: - - uses: dataesr/mm-notifier-action@v1.0.2 + - name: 📢 Notify + uses: dataesr/mm-notifier-action@v1.0.2 with: deployment_url: ${{ env.DEPLOYMENT_URL }} github_token: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/staging.yml b/.github/workflows/staging.yml index 3b577331..ec5d0e4a 100644 --- a/.github/workflows/staging.yml +++ b/.github/workflows/staging.yml @@ -14,7 +14,7 @@ env: jobs: publish-ghcr: - name: Publish docker image + name: Build & publish Docker image runs-on: ubuntu-latest steps: - name: 🏁 Checkout @@ -46,8 +46,7 @@ jobs: runs-on: ubuntu-latest needs: publish-ghcr steps: - - name: Deploy to Cluster - id: kubectl-deploy + - name: 🌥️ Deployment uses: dataesr/kubectl-deploy@v1.1 env: KUBE_CONFIG: ${{ secrets.KUBE_CONFIG_DOAD_STAGING }} @@ -60,7 +59,8 @@ jobs: if: always() runs-on: ubuntu-latest steps: - - uses: dataesr/mm-notifier-action@v1.0.2 + - name: 📢 Notify + uses: dataesr/mm-notifier-action@v1.0.2 with: deployment_url: ${{ env.DEPLOYMENT_URL }} github_token: ${{ secrets.GITHUB_TOKEN }}