Skip to content

fix(actions): deploy commands workflow #2

fix(actions): deploy commands workflow

fix(actions): deploy commands workflow #2

name: Deploy commands
on:
push:
branches: [master]
paths: ["scripts/deploy-commands.sh", ".github/workflows/deploy-commands.yml"]
jobs:
deploy:
runs-on: ubuntu-latest
name: Deploy
steps:
- name: Checkout Repo
uses: actions/checkout@v4
with:
sparse-checkout: "scripts/deploy-commands.sh"
sparse-checkout-cone-mode: false
- name: Set permissions
run: git update-index --chmod=+x scripts/deploy-commands.sh
- name: Deploy commands
run: scripts/deploy-commands.sh
env:
DISCORD: ${{ secrets.DISCORD }}