From 249fbc528f6b09efe1a8e6d21c88f5b9bd4cda6f Mon Sep 17 00:00:00 2001 From: Bojan Angjelkoski Date: Mon, 7 Oct 2024 21:44:31 +0200 Subject: [PATCH] chore: gh workflow --- .github/workflows/dev.yaml | 33 +++++++++++++++++++++ docs/develop/modules/core/auth/README.md | 2 +- docs/develop/modules/core/authz/README.md | 2 +- docs/develop/modules/core/index.mdx | 4 +-- docusaurus.config.js | 36 +++++++++++++---------- scripts/setup.sh | 25 ++++++++++++++++ 6 files changed, 81 insertions(+), 21 deletions(-) create mode 100644 .github/workflows/dev.yaml diff --git a/.github/workflows/dev.yaml b/.github/workflows/dev.yaml new file mode 100644 index 00000000..0e47629b --- /dev/null +++ b/.github/workflows/dev.yaml @@ -0,0 +1,33 @@ +name: Injective Chain canonical docs deployment +on: + push: + branches: [dev] + +jobs: + release: + runs-on: self-hosted + env: + SSH_USER: ${{ secrets.DEVNET_SSH_USER }} + SSH_KEY: ${{ secrets.DEVNET_SSH_KEY }} + SSH_HOST: ${{ secrets.DEVNET_SSH_HOST }} + APP_GOOGLE_ANALYTICS_KEY: ${{ secrets.APP_DEVNET_GOOGLE_ANALYTICS_KEY }} + steps: + - name: Configure SSH + run: | + mkdir -p ~/.ssh/ + echo "$SSH_KEY" > ~/.ssh/devnet.key + chmod 600 ~/.ssh/devnet.key + + cat >>~/.ssh/config <