summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorFrostyBiscuit <[email protected]>2025-02-16 13:04:17 +0100
committerFrostyBiscuit <[email protected]>2025-02-16 13:04:17 +0100
commitd0e4dcc6ef057f4c680838d4f8ac8e099a166225 (patch)
tree103aae098272bee55b337e53e7436864a9cb8770 /.github
Initial push with version 0.1.1
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/deploy.yaml30
1 files changed, 30 insertions, 0 deletions
diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml
new file mode 100644
index 0000000..275717f
--- /dev/null
+++ b/.github/workflows/deploy.yaml
@@ -0,0 +1,30 @@
+name: Build and Sign Extension
+
+on:
+ push:
+ branches:
+ - main
+
+jobs:
+ build-and-sign:
+ runs-on: ubuntu-latest
+ steps:
+ - name: Checkout code
+ uses: actions/checkout@v3
+
+ - name: Set up Node.js
+ uses: actions/setup-node@v3
+ with:
+ node-version: 22
+
+ - name: Install dependencies
+ run: npm install
+
+ - name: Build Extension
+ run: npm run build
+
+ - name: Sign Extension
+ env:
+ FIREFOX_API_KEY: ${{ secrets.FIREFOX_API_KEY }}
+ FIREFOX_API_SECRET: ${{ secrets.FIREFOX_API_SECRET }}
+ run: npm run sign