This repository has been archived by the owner on Oct 26, 2024. It is now read-only.
🚚 Continuous Delivery #6
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: 🚚 Continuous Delivery | |
on: | |
workflow_dispatch: | |
workflow_run: | |
workflows: [ "🔁 Continuous Integration" ] | |
branches: [ main ] | |
types: | |
- completed | |
env: | |
TF_WORKSPACE: keinsell-dev | |
CONFIGU_ORG: ${{ secrets.CONFIGU_ORG }} | |
CONFIGU_SECRET: ${{ secrets.CONFIGU_SECRET }} | |
jobs: | |
release: | |
runs-on: methylphenidate-runner-set | |
steps: | |
- name: 📜 Checkout Repository | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
# Bump Versions | |
# Generate Changelog | |
# Publish Docker Image | |
# Publish Artifacts on Github Releases | |
deploy: | |
runs-on: methylphenidate-runner-set | |
concurrency: | |
group: "deploy" | |
cancel-in-progress: false | |
steps: | |
- name: 📜 Checkout Repository | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
# Push infrastructure | |
# Deploy application | |
# Migrate database | |
rollback: | |
runs-on: methylphenidate-runner-set | |
steps: | |
- name: 📜 Checkout Repository | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
monitor: | |
runs-on: methylphenidate-runner-set | |
steps: | |
- name: 📜 Checkout Repository | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 |