Skip to content

Commit

Permalink
chore: ci doc 004
Browse files Browse the repository at this point in the history
  • Loading branch information
hirsch88 committed Sep 13, 2023
1 parent 78e5917 commit 7f7217c
Showing 1 changed file with 21 additions and 21 deletions.
42 changes: 21 additions & 21 deletions .github/workflows/actions/docs/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 "[email protected]" \
# --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 "[email protected]" \
--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 }}}"

0 comments on commit 7f7217c

Please sign in to comment.