From 7d7676a2866ac73cec376e599161a5ec38334d95 Mon Sep 17 00:00:00 2001 From: Bojan Angjelkoski Date: Mon, 7 Oct 2024 22:49:58 +0200 Subject: [PATCH] fix: workflow --- .github/workflows/dev.yaml | 1 + .github/workflows/generate.yaml | 11 ++--------- 2 files changed, 3 insertions(+), 9 deletions(-) diff --git a/.github/workflows/dev.yaml b/.github/workflows/dev.yaml index f37f034b..64a0008b 100644 --- a/.github/workflows/dev.yaml +++ b/.github/workflows/dev.yaml @@ -6,6 +6,7 @@ on: jobs: release: runs-on: ubuntu-latest + if: false env: SSH_USER: ${{ secrets.DEVNET_SSH_USER }} SSH_KEY: ${{ secrets.DEVNET_SSH_KEY }} diff --git a/.github/workflows/generate.yaml b/.github/workflows/generate.yaml index 9eddd666..b5d9799a 100644 --- a/.github/workflows/generate.yaml +++ b/.github/workflows/generate.yaml @@ -19,13 +19,6 @@ jobs: export GH_CORE_TOKEN=${{ secrets.GH_CORE_TOKEN }} ./scripts/setup.sh - - name: Checkout injective-docs - uses: actions/checkout@v1 - with: - repository: InjectiveLabs/injective-docs - ref: dev - path: ./injective-docs - - name: Set up Git user run: | git config user.name "${{ github.actor }}" @@ -34,5 +27,5 @@ jobs: - name: Commit the changes to injective-docs run: | git add . - git status - git commit -m "chore: docs regenerated" + git commit -m "chore: docs regenerated" || echo "No changes to commit" + git push || echo "No changes to push"