Continuous deployment on Chrome
This commit is contained in:
@@ -14,13 +14,28 @@ jobs:
|
|||||||
- name: Run linter
|
- name: Run linter
|
||||||
run: make lint
|
run: make lint
|
||||||
|
|
||||||
deploy:
|
deploy-chrome:
|
||||||
|
needs: lint
|
||||||
runs-on: linux
|
runs-on: linux
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repo
|
- name: Checkout repo
|
||||||
uses: actions/checkout@v5
|
uses: actions/checkout@v5
|
||||||
- name: Deploy project
|
- name: Deploy project to Chrome Webstore
|
||||||
env:
|
env:
|
||||||
WEB_EXT_API_KEY: ${{ vars.WEB_EXT_API_KEY }}
|
CLIENT_ID: ${{ vars.CHROME_CLIENT_ID }}
|
||||||
WEB_EXT_API_SECRET: ${{ secrets.WEB_EXT_API_SECRET }}
|
CLIENT_SECRET: ${{ secrets.CHROME_CLIENT_SECRET }}
|
||||||
run: make deploy
|
EXTENSION_ID: ${{ vars.CHROME_EXTENSION_ID }}
|
||||||
|
REFRESH_TOKEN: ${{ secrets.CHROME_REFRESH_TOKEN }}
|
||||||
|
run: make deploy_chrome
|
||||||
|
|
||||||
|
deploy-firefox:
|
||||||
|
needs: lint
|
||||||
|
runs-on: linux
|
||||||
|
steps:
|
||||||
|
- name: Checkout repo
|
||||||
|
uses: actions/checkout@v5
|
||||||
|
- name: Deploy project to Firefox Addons
|
||||||
|
env:
|
||||||
|
WEB_EXT_API_KEY: ${{ vars.FIREFOX_API_KEY }}
|
||||||
|
WEB_EXT_API_SECRET: ${{ secrets.FIREFOX_API_SECRET }}
|
||||||
|
run: make deploy_firefox
|
||||||
|
|||||||
@@ -1,5 +1,9 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
## 1.4.13 (2025-11-13)
|
||||||
|
|
||||||
|
- déploiement automatique sur chrome
|
||||||
|
|
||||||
## 1.4.12 (2025-11-11)
|
## 1.4.12 (2025-11-11)
|
||||||
|
|
||||||
- correction bug menu
|
- correction bug menu
|
||||||
|
|||||||
5
Makefile
5
Makefile
@@ -3,8 +3,11 @@ build:
|
|||||||
|
|
||||||
lint:
|
lint:
|
||||||
web-ext lint
|
web-ext lint
|
||||||
|
|
||||||
|
deploy_chrome:
|
||||||
|
chrome-webstore-upload
|
||||||
|
|
||||||
deploy:
|
deploy_firefox:
|
||||||
web-ext sign --channel listed --amo-metadata metadata.json
|
web-ext sign --channel listed --amo-metadata metadata.json
|
||||||
|
|
||||||
help:
|
help:
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"manifest_version": 3,
|
"manifest_version": 3,
|
||||||
"name": "KAplus",
|
"name": "KAplus",
|
||||||
"version": "1.4.12",
|
"version": "1.4.13",
|
||||||
|
|
||||||
"author": "Samuel Campos - netoik.io",
|
"author": "Samuel Campos - netoik.io",
|
||||||
"description": "Extension développée pour améliorer l'expérience de jeu KingsAge (fonctionne avec ou sans premium)",
|
"description": "Extension développée pour améliorer l'expérience de jeu KingsAge (fonctionne avec ou sans premium)",
|
||||||
|
|||||||
@@ -5,8 +5,8 @@
|
|||||||
"firefox"
|
"firefox"
|
||||||
],
|
],
|
||||||
"release_notes": {
|
"release_notes": {
|
||||||
"fr": "- correction bug menu",
|
"fr": "- déploiement automatique sur chrome",
|
||||||
"en-US": "- fix bug menu"
|
"en-US": "- continuous deployment on chrome"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user