Skip to content

Commit

Permalink
remove slot
Browse files Browse the repository at this point in the history
  • Loading branch information
steebchen committed Sep 18, 2024
1 parent 0dcec2c commit a18222b
Showing 1 changed file with 0 additions and 33 deletions.
33 changes: 0 additions & 33 deletions .github/workflows/preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,6 @@ name: preview

on:
workflow_dispatch:
inputs:
world:
description: World address
required: false
type: string
default: '0x53b7efae79ce1d7729828bb6dee2cee09358fde4c4325805cf97678919a4855'
push:
branches:
- ci-preview
Expand Down Expand Up @@ -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 }}

0 comments on commit a18222b

Please sign in to comment.