Firefox WebExtension (Desktop and Mobile) that lets you share the current tab to Margit.at, frontpage.fyi, etc. with minimal effort.

Mirror main branch to Tangled

+36
+31
.github/workflows/mirror-to-tangled.yml
··· 1 + name: mirror-to-tangled 2 + 3 + on: 4 + push: 5 + branches: 6 + - main 7 + 8 + jobs: 9 + mirror: 10 + runs-on: ubuntu-latest 11 + steps: 12 + - name: Checkout repository 13 + uses: actions/checkout@v4 14 + with: 15 + fetch-depth: 0 16 + 17 + - name: Configure SSH 18 + uses: webfactory/ssh-agent@v0.9.1 19 + with: 20 + ssh-private-key: ${{ secrets.TANGLED_DEPLOY_KEY }} 21 + 22 + - name: Push to Tangled 23 + env: 24 + TARGET_REMOTE: git@tangled.sh:galiglobal.com/frontpage_firefox_plugin 25 + run: | 26 + if git remote | grep -q '^tangled$'; then 27 + git remote set-url tangled "${TARGET_REMOTE}" 28 + else 29 + git remote add tangled "${TARGET_REMOTE}" 30 + fi 31 + git push tangled HEAD:main
+5
README.md
··· 74 74 - Mozilla requires every signed upload to have a unique version number. Bump `version` in `extension/manifest.json` before rerunning the workflow if you need a new signed package. 75 75 76 76 These artifacts can be hosted directly for self-distribution as described in the [Mozilla documentation](https://extensionworkshop.com/documentation/publish/self-distribution/). 77 + 78 + ### Tangled mirror 79 + 80 + The `mirror-to-tangled.yml` workflow pushes every commit on `main` to `git@tangled.sh:galiglobal.com/frontpage_firefox_plugin`. 81 + Add a deploy key with write access as the `TANGLED_DEPLOY_KEY` repository secret so the mirror stays up to date.