Mirror: TypeScript LSP plugin that finds GraphQL documents in your code and provides diagnostics, auto-complete and hover-information.
at main 759 B view raw
1# Mirrors to https://tangled.sh/@kitten.sh (knot.kitten.sh) 2name: Mirror (Git Backup) 3on: 4 push: 5 branches: 6 - main 7jobs: 8 mirror: 9 runs-on: ubuntu-latest 10 steps: 11 - name: Checkout repository 12 uses: actions/checkout@v4 13 with: 14 fetch-depth: 0 15 fetch-tags: true 16 - name: Mirror 17 env: 18 MIRROR_SSH_KEY: ${{ secrets.MIRROR_SSH_KEY }} 19 GIT_SSH_COMMAND: 'ssh -o StrictHostKeyChecking=yes' 20 run: | 21 mkdir -p ~/.ssh 22 echo "$MIRROR_SSH_KEY" > ~/.ssh/id_rsa 23 chmod 600 ~/.ssh/id_rsa 24 ssh-keyscan -H knot.kitten.sh >> ~/.ssh/known_hosts 25 git remote add mirror "git@knot.kitten.sh:kitten.sh/graphqlsp" 26 git push --mirror mirror