[READ-ONLY] a fast, modern browser for the npm registry
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

ci: mirror repo to tangled

resolves https://github.com/npmx-dev/npmx.dev/issues/459

+36
+36
.github/workflows/mirror-tangled.yml
··· 1 + name: mirror 2 + 3 + on: 4 + push: 5 + branches: 6 + - main 7 + tags: 8 + - '*' 9 + 10 + permissions: 11 + contents: read 12 + 13 + jobs: 14 + mirror: 15 + name: 🕸️ Mirror to Tangled 16 + runs-on: ubuntu-24.04-arm 17 + 18 + steps: 19 + - uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 20 + with: 21 + fetch-depth: 0 22 + 23 + - name: 🔑 Configure SSH 24 + env: 25 + TANGLED_SSH_KEY: ${{ secrets.TANGLED_SSH_KEY }} 26 + run: | 27 + mkdir -p ~/.ssh 28 + echo "$TANGLED_SSH_KEY" > ~/.ssh/id_ed25519 29 + chmod 600 ~/.ssh/id_ed25519 30 + ssh-keyscan -t ed25519 tangled.org >> ~/.ssh/known_hosts 2>/dev/null 31 + 32 + - name: ⬆︎ Push to Tangled 33 + run: | 34 + git remote add tangled git@tangled.org:npmx.dev/npmx.dev 35 + git push tangled main --force 36 + git push tangled --tags --force