Skip to content

Commit

Permalink
xdg
Browse files Browse the repository at this point in the history
  • Loading branch information
steebchen committed Sep 18, 2024
1 parent 5a4bec7 commit 453287d
Showing 1 changed file with 16 additions and 5 deletions.
21 changes: 16 additions & 5 deletions .github/workflows/preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,11 +103,22 @@ jobs:
- name: Deploy on slot
run: |
curl -L https://slot.cartridge.sh | bash
ls -R $HOME/.slot
$HOME/.slot/bin/slotup
$HOME/.slot/bin/slot --version
$HOME/.slot/bin/slot d create preview--${{ github.ref_name }} katana --version preview--${{ github.ref_name }}
$HOME/.slot/bin/slot d create preview--${{ github.ref_name }} torii --version preview--${{ github.ref_name }} \
BASE_DIR=${XDG_CONFIG_HOME:-$HOME}
SLOT_DIR=${SLOT_DIR-"$BASE_DIR/.slot"}
SLOT_BIN_DIR="$SLOT_DIR/bin"
SLOT_MAN_DIR="$SLOT_DIR/share/man/man1"
BIN_URL="https://raw.githubusercontent.com/cartridge-gg/slot/main/slotup/slotup"
BIN_PATH="$SLOT_BIN_DIR/slotup"
echo "BIN_PATH: $BIN_PATH"
ls -R $XDG_CONFIG_HOME/.slot
$XDG_CONFIG_HOME/.slot/bin/slotup
$XDG_CONFIG_HOME/.slot/bin/slot --version
$XDG_CONFIG_HOME/.slot/bin/slot d create preview--${{ github.ref_name }} katana --version preview--${{ github.ref_name }}
$XDG_CONFIG_HOME/.slot/bin/slot d create preview--${{ github.ref_name }} torii --version preview--${{ github.ref_name }} \
--rpc=http://slot.prod.svc.cluster.local/x/starknet/sepolia \
--world=0x53b7efae79ce1d7729828bb6dee2cee09358fde4c4325805cf97678919a4855 \
--start-block=0
Expand Down

0 comments on commit 453287d

Please sign in to comment.