diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 80d05ce..e628808 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -57,21 +57,22 @@ jobs: tags: | ghcr.io/${{ github.repository_owner }}/kemkas-frontend:${{ env.GITHUB_SHA_SHORT }} - deploy-to-beta: - runs-on: ubuntu-latest - needs: - - docker-fe-build - steps: - - uses: actions/checkout@v4 - with: - repository: ${{ github.repository_owner }}/kemkas-deployment - ref: refs/heads/main - ssh-key: ${{ secrets.DEPLOYMENT_REPO_DEPLOY_KEY }} - - uses: mikefarah/yq@v4 - with: - cmd: yq -i '.spec.template.spec.containers[0].image = "${{ needs.docker-fe-build.outputs.image_tag }}"' ./kemkas-beta/kemkas-fe-deployment.yaml - - run: | - git config --add user.email "beta-fe-deployment-bot@kemkas.hu" - git config --add user.name "Deployment Bot Beta FE" - git commit -a -m "deploy ${{ needs.docker-fe-build.outputs.image_tag }}" - git push +# No longer used, and token expired. + # deploy-to-beta: + # runs-on: ubuntu-latest + # needs: + # - docker-fe-build + # steps: + # - uses: actions/checkout@v4 + # with: + # repository: ${{ github.repository_owner }}/kemkas-deployment + # ref: refs/heads/main + # ssh-key: ${{ secrets.DEPLOYMENT_REPO_DEPLOY_KEY }} + # - uses: mikefarah/yq@v4 + # with: + # cmd: yq -i '.spec.template.spec.containers[0].image = "${{ needs.docker-fe-build.outputs.image_tag }}"' ./kemkas-beta/kemkas-fe-deployment.yaml + # - run: | + # git config --add user.email "beta-fe-deployment-bot@kemkas.hu" + # git config --add user.name "Deployment Bot Beta FE" + # git commit -a -m "deploy ${{ needs.docker-fe-build.outputs.image_tag }}" + # git push