-
-
Notifications
You must be signed in to change notification settings - Fork 42
44 lines (35 loc) · 1.02 KB
/
addons.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
name: Addon updates
on:
workflow_dispatch:
push:
branches: [alpha, beta, stable]
jobs:
generate:
name: Generate Addon Update Manifests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- name: Setup Gluon
run: yarn
- name: Load config
run: yarn gluon ci --brand ${GITHUB_REF##*/}
- name: Generate update manifest
run: yarn gluon updates-addons
- name: Checkout tools repo
uses: actions/checkout@v3
with:
repository: pulse-browser/updates
path: updates
token: ${{ secrets.ROBOT_TOKEN }}
- name: Copy update manifests
run: |
mkdir -p updates/browser
cp -a dist/update/. updates/
- uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: 🔖 Upload update addon manifests
commit_user_name: Fushra Robot
commit_user_email: [email protected]
repository: ./updates