diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2dfc28a..d067c64 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -24,8 +24,8 @@ jobs: --health-timeout 5s --health-retries 5 steps: - - uses: actions/checkout@v4 - - uses: actions/setup-java@v4 + - uses: actions/checkout@v6 + - uses: actions/setup-java@v5 with: distribution: temurin java-version: '25' @@ -47,7 +47,7 @@ jobs: contents: read packages: write steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - name: Log in to GHCR run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin - name: Build image @@ -59,11 +59,10 @@ jobs: - name: Push image run: docker push --all-tags ghcr.io/barboud/tickets - -deploy: - runs-on: ubuntu-latest - needs: build-and-push - if: github.ref == 'refs/heads/main' - steps: - - name: Trigger Render deploy - run: curl --fail --silent --show-error "${{ secrets.RENDER_DEPLOY_HOOK }}" \ No newline at end of file + deploy: + runs-on: ubuntu-latest + needs: build-and-push + if: github.ref == 'refs/heads/main' + steps: + - name: Trigger Render deploy + run: curl --fail --silent --show-error "${{ secrets.RENDER_DEPLOY_HOOK }}" \ No newline at end of file