From 599df7a70d28d8e3607814aac071b2be01930932 Mon Sep 17 00:00:00 2001 From: Jan-David Wiederstein <141321444+Datata1@users.noreply.github.com> Date: Thu, 12 Jun 2025 14:25:39 +0200 Subject: [PATCH] Update preview-deployment.yml --- .github/workflows/preview-deployment.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/preview-deployment.yml b/.github/workflows/preview-deployment.yml index c955972..3a7a8b0 100644 --- a/.github/workflows/preview-deployment.yml +++ b/.github/workflows/preview-deployment.yml @@ -1,3 +1,5 @@ +name: 'Deploy to codesphere' + on: workflow_dispatch: pull_request: @@ -11,25 +13,23 @@ permissions: contents: read pull-requests: read deployments: write + statuses: write jobs: deploy: concurrency: codesphere runs-on: ubuntu-latest steps: - - name: Checkout - uses: actions/checkout@v3 - - name: Deploy - uses: codesphere-cloud/gh-action-deploy@main + uses: docker://ghcr.io/codesphere-cloud/codesphere-monorepo/integrations/github-action:gh-action-ws-url-5dd1ca4b0e env: GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} with: email: ${{ secrets.CODESPHERE_EMAIL }} password: ${{ secrets.CODESPHERE_PASSWORD }} team: ${{ secrets.CODESPHERE_TEAM }} - plan: 'Boost' - onDemand: 'true' + plan: Micro env: | - TEAM_ID=${{ secrets.CODESPHERE_TEAM_ID }} CS_TOKEN=${{ secrets.CODESPHERE_TOKEN }} + apiUrl: https://codesphere.com/ + tlsAllowUnauthorized: "true"