diff --git a/.github/workflows/preview.yml b/.github/workflows/preview.yml index a5feb28258..30dd70cd58 100644 --- a/.github/workflows/preview.yml +++ b/.github/workflows/preview.yml @@ -2,12 +2,6 @@ name: preview on: workflow_dispatch: - inputs: - world: - description: World address - required: false - type: string - default: '0x53b7efae79ce1d7729828bb6dee2cee09358fde4c4325805cf97678919a4855' push: branches: - ci-preview @@ -104,30 +98,3 @@ jobs: platforms: linux/amd64 build-contexts: | artifacts=artifacts - - deploy: - runs-on: ubuntu-latest - needs: [docker-build-and-push] - steps: - - name: Checkout repository - uses: actions/checkout@v4 - - - name: Set outputs - id: vars - run: | - git config --global --add safe.directory '*' - echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT - - - name: Deploy on slot - run: | - set -eux - curl -L https://slot.cartridge.sh | bash - $XDG_CONFIG_HOME/.slot/bin/slotup - $XDG_CONFIG_HOME/.slot/bin/slot --version - $XDG_CONFIG_HOME/.slot/bin/slot d create preview--${{ steps.vars.outputs.sha_short }} katana --version preview--${{ steps.vars.outputs.sha_short }} - $XDG_CONFIG_HOME/.slot/bin/slot d create preview--${{ steps.vars.outputs.sha_short }} torii --version preview--${{ steps.vars.outputs.sha_short }} \ - --rpc=http://slot.prod.svc.cluster.local/x/starknet/sepolia \ - --world=${{ inputs.world }} - --start-block=0 - env: - SLOT_AUTH: ${{ secrets.SLOT_AUTH }}