Deployment Overview #44
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: Create Overview | |
on: | |
workflow_dispatch: | |
# Every day at 07:00 | |
schedule: | |
- cron: '0 * * * *' | |
push: | |
branches: | |
- main | |
jobs: | |
create-overview: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
# Create directory profile if it does not exist | |
- name: Create profile directory | |
run: mkdir -p profile | |
- name: Deployment overview | |
uses: prodyna/deployment-overview@v0.5 | |
with: | |
organization: prodyna-yasm | |
repositories: yasm-backend,yasm-frontend,yasmctl,yasm-proxy-odbc,yasm-integration,yasm-geocoding,yasm-data,yasm-gotenberg,yasm-infrastructure-staged | |
environments: dev,staging,prod | |
environment-links: https://dev-yasm.prodyna.com,https://staging-yasm.prodyna.com,https://yasm.prodyna.com | |
verbose: 1 | |
github-token: ${{ secrets.OVERVIEW_GITHUB_TOKEN }} | |
title: "YASM Deployment Overview" | |
target-json-file: profile/deployment-overview.json | |
target-md-file: profile/README.md | |
- name: Commit changes | |
run: | | |
git config --local user.email "darko@krizic.net" | |
git config --local user.name "Deployment Overview" | |
git add profile | |
git commit -m "Add/update deployment overview" | |
git push |