From f5d884ee28d8b364075b9e24d28bd8a7eec8fd31 Mon Sep 17 00:00:00 2001 From: Jaydip Sanghani <91427591+jellydeck@users.noreply.github.com> Date: Sat, 11 Oct 2025 10:54:07 +0530 Subject: [PATCH] ci: added tangled github action --- .github/workflows/mirror-to-tangled.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/mirror-to-tangled.yml diff --git a/.github/workflows/mirror-to-tangled.yml b/.github/workflows/mirror-to-tangled.yml new file mode 100644 index 0000000..4eece91 --- /dev/null +++ b/.github/workflows/mirror-to-tangled.yml @@ -0,0 +1,23 @@ +name: Mirror to Tangled + +on: + push: + branches: + - main + +jobs: + mirror: + runs-on: ubuntu-latest + steps: + - name: Checkout repo + uses: actions/checkout@v4 + + - name: Push to Tangled + env: + SSH_KEY: ${{ secrets.TANGLED_SSH_KEY }} + run: | + mkdir -p ~/.ssh + echo "$SSH_KEY" > ~/.ssh/id_rsa + chmod 600 ~/.ssh/id_rsa + git remote add tangled git@tangled.sh:jaydip.me/moocup + git push tangled main -- 2.51.2