docs: update CONTRIBUTING i18n and lint docs (#2336) #558
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: mirror | |
| on: | |
| push: | |
| branches: | |
| - main | |
| tags: | |
| - '*' | |
| permissions: | |
| contents: read | |
| jobs: | |
| mirror: | |
| name: 🕸️ Mirror to Tangled | |
| if: ${{ github.repository == 'npmx-dev/npmx.dev' }} | |
| runs-on: ubuntu-24.04-arm | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| with: | |
| fetch-depth: 0 | |
| - name: 🔑 Configure SSH | |
| env: | |
| TANGLED_SSH_KEY: ${{ secrets.TANGLED_SSH_KEY }} | |
| run: | | |
| mkdir -p ~/.ssh | |
| echo "$TANGLED_SSH_KEY" > ~/.ssh/id_ed25519 | |
| chmod 600 ~/.ssh/id_ed25519 | |
| ssh-keyscan -t ed25519 tangled.org >> ~/.ssh/known_hosts 2>/dev/null | |
| - name: ⬆︎ Push to Tangled | |
| run: | | |
| git remote add tangled [email protected]:npmx.dev/npmx.dev | |
| git push tangled main --force | |
| git push tangled --tags --force |