Skip to content

Commit

Permalink
Publish action
Browse files Browse the repository at this point in the history
  • Loading branch information
ShadowMitia committed Aug 10, 2024
1 parent 397fad1 commit f3d173f
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 1 deletion.
28 changes: 28 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Publisher
on: [push]
jobs:
publish_all:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Generate addon xpi
run: make
- name: Publish to Mozilla Hub
uses: wdzeng/firefox-addon@v1
with:
addon-guid: "{a7eef67d-800e-49ec-b795-6a11ee4a2c16}"
xpi-path: straight-to-web.xpi
self-hosted: false
jwt-issuer: ${{ secrets.MOZILLA_USER }}
jwt-secret: ${{ secrets.MOZILLA_JWT }}
- name: Publish release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
draft: false
prerelease: false
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"manifest_version": 2,
"name": "Straight to the web",
"homepage_url": "https://github.com/ShadowMitia/Straight-to-the-web",
"version": "0.2",
"version": "0.3",
"description": "Forces all Google searches to use the new 'Web' mode by appending links with udm=14",
"permissions": [
"webRequest",
Expand Down

0 comments on commit f3d173f

Please sign in to comment.