From 7f7217c641b31231b3e8d68e9d9767832e04eb0f Mon Sep 17 00:00:00 2001 From: Gery Hirschfeld Date: Wed, 13 Sep 2023 14:35:00 +0200 Subject: [PATCH] chore: ci doc 004 --- .github/workflows/actions/docs/action.yml | 42 +++++++++++------------ 1 file changed, 21 insertions(+), 21 deletions(-) diff --git a/.github/workflows/actions/docs/action.yml b/.github/workflows/actions/docs/action.yml index c6bc433a50..354941ce86 100644 --- a/.github/workflows/actions/docs/action.yml +++ b/.github/workflows/actions/docs/action.yml @@ -22,25 +22,25 @@ runs: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} - # - name: Build and push - # id: docker_build - # uses: docker/build-push-action@v2 - # with: - # push: true - # tags: baloise/design-system-docs:${{ steps.vars.outputs.sha_short }},baloise/design-system-docs:latest + - name: Build and push + id: docker_build + uses: docker/build-push-action@v2 + with: + push: true + tags: baloise/design-system-docs:${{ steps.vars.outputs.sha_short }},baloise/design-system-docs:latest - # - name: Deploy - # uses: addnab/docker-run-action@v3 - # with: - # image: baloise/gitopscli:5.4.0 - # run: | - # gitopscli deploy \ - # --git-provider-url https://github.com \ - # --username ${{ secrets.INCUBATOR_GITHUB_USER }} \ - # --password ${{ secrets.INCUBATOR_GITHUB_TOKEN }} \ - # --git-user "Baloise Incubator" \ - # --git-email "incubator@baloise.dev" \ - # --organisation "baloise-incubator" \ - # --repository-name "okd4-example-apps" \ - # --file "baloise-design-system-docs-test/values.yaml" \ - # --values "{designsystem.image.tag: ${{ steps.vars.outputs.sha_short }}}" + - name: Deploy + uses: addnab/docker-run-action@v3 + with: + image: baloise/gitopscli:5.4.0 + run: | + gitopscli deploy \ + --git-provider-url https://github.com \ + --username ${{ secrets.INCUBATOR_GITHUB_USER }} \ + --password ${{ secrets.INCUBATOR_GITHUB_TOKEN }} \ + --git-user "Baloise Incubator" \ + --git-email "incubator@baloise.dev" \ + --organisation "baloise-incubator" \ + --repository-name "okd4-example-apps" \ + --file "baloise-design-system-docs-test/values.yaml" \ + --values "{designsystem.image.tag: ${{ steps.vars.outputs.sha_short }}}"