From b60c13ab6b5d5adae9ac6ed735385f6b574ec7ed Mon Sep 17 00:00:00 2001 From: Hugo Tiburtino <45924645+hugotiburtino@users.noreply.github.com> Date: Wed, 16 Oct 2024 18:22:29 +0200 Subject: [PATCH] feat!(ci): remove push to dev MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit "Für die Dev-Umgebung können wir Ihnen leider keine Credentials geben, da alle Partner ausschließlich an die DEMO-Landschaft angebunden werden sollen." --- .github/workflows/datenraum.yml | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) diff --git a/.github/workflows/datenraum.yml b/.github/workflows/datenraum.yml index 950fc11..9875824 100644 --- a/.github/workflows/datenraum.yml +++ b/.github/workflows/datenraum.yml @@ -14,10 +14,7 @@ jobs: runs-on: ubuntu-latest strategy: fail-fast: false - matrix: - target_environment: - - demo - - dev + steps: - uses: actions/checkout@v4 @@ -39,17 +36,8 @@ jobs: - name: Set credentials for Datenraum run: | - echo "DATENRAUM_ENVIRONMENT=${{ matrix.target_environment }}" >> "$GITHUB_ENV" - if [ "${{ matrix.target_environment }}" = "demo" ]; then - echo "CLIENT_ID=${{ secrets.CLIENT_ID_DEMO }}" >> "$GITHUB_ENV" - echo "CLIENT_SECRET=${{ secrets.CLIENT_SECRET_DEMO }}" >> "$GITHUB_ENV" - elif [ "${{ matrix.target_environment }}" = "dev" ]; then - echo "CLIENT_ID=${{ secrets.CLIENT_ID_DEV }}" >> "$GITHUB_ENV" - echo "CLIENT_SECRET=${{ secrets.CLIENT_SECRET_DEV }}" >> "$GITHUB_ENV" - else - echo "Target environment must be 'demo' or 'dev'" - exit 1 - fi + echo "CLIENT_ID=${{ secrets.CLIENT_ID_DEMO }}" >> "$GITHUB_ENV" + echo "CLIENT_SECRET=${{ secrets.CLIENT_SECRET_DEMO }}" >> "$GITHUB_ENV" - name: Download metadata from Datenraum run: pipenv run python download_datenraum_nodes.py public/serlo-datenraum.json