Skip to content

Commit

Permalink
chore(ci/cd): Clean github workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
annelhote committed May 7, 2024
1 parent 749ff33 commit 23841a4
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ env:

jobs:
publish-ghcr:
name: Publish docker image
name: Build & publish Docker image
runs-on: ubuntu-latest
steps:
- name: 🏁 Checkout
Expand Down Expand Up @@ -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:
Expand All @@ -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:
Expand All @@ -80,8 +80,7 @@ jobs:
runs-on: ubuntu-latest
needs: release
steps:
- name: Deploy to Cluster
id: kubectl-deploy
- name: 🌥️ Deployment
uses: dataesr/[email protected]
env:
KUBE_CONFIG: ${{ secrets.KUBE_CONFIG_DOAD_PROD }}
Expand All @@ -94,7 +93,8 @@ jobs:
if: always()
runs-on: ubuntu-latest
steps:
- uses: dataesr/[email protected]
- name: 📢 Notify
uses: dataesr/[email protected]
with:
deployment_url: ${{ env.DEPLOYMENT_URL }}
github_token: ${{ secrets.GITHUB_TOKEN }}
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ env:

jobs:
publish-ghcr:
name: Publish docker image
name: Build & publish Docker image
runs-on: ubuntu-latest
steps:
- name: 🏁 Checkout
Expand Down Expand Up @@ -46,8 +46,7 @@ jobs:
runs-on: ubuntu-latest
needs: publish-ghcr
steps:
- name: Deploy to Cluster
id: kubectl-deploy
- name: 🌥️ Deployment
uses: dataesr/[email protected]
env:
KUBE_CONFIG: ${{ secrets.KUBE_CONFIG_DOAD_STAGING }}
Expand All @@ -60,7 +59,8 @@ jobs:
if: always()
runs-on: ubuntu-latest
steps:
- uses: dataesr/[email protected]
- name: 📢 Notify
uses: dataesr/[email protected]
with:
deployment_url: ${{ env.DEPLOYMENT_URL }}
github_token: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit 23841a4

Please sign in to comment.