Skip to content

Commit 38bdf9b

Browse files
committed
ci: push to release repo on release
1 parent f1840d3 commit 38bdf9b

File tree

1 file changed

+69
-66
lines changed

1 file changed

+69
-66
lines changed

.github/workflows/ffmpeg.yml

Lines changed: 69 additions & 66 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ on:
33
push:
44
pull_request:
55
workflow_dispatch:
6+
release:
7+
types: [ published ]
68
env:
79
CI_DEPLOY_NEED_GCC: 1
810
CI_DEPLOY_MODULE: ${{ github.workflow }}
@@ -13,79 +15,80 @@ env:
1315
STAGING_REPOSITORY: ${{ secrets.STAGING_REPOSITORY }}
1416
REPOSILITE_USERNAME: ${{ secrets.REPOSILITE_USERNAME }}
1517
REPOSILITE_PASSWORD: ${{ secrets.REPOSILITE_PASSWORD }}
16-
REPOSILITE_URL: "https://reposilite.silenium.dev/snapshots"
18+
# deploy to snapshots if not a release
19+
REPOSILITE_URL: ${{ github.event_name == 'release' && 'https://reposilite.silenium.dev/releases' || 'https://reposilite.silenium.dev/snapshots' }}
1720
permissions:
1821
contents: write
1922
jobs:
20-
# android-arm:
21-
# runs-on: ubuntu-20.04
22-
# strategy:
23-
# matrix:
24-
# ext: ["", -gpl]
25-
# steps:
26-
# - uses: actions/checkout@v4
27-
# - uses: ./.github/actions/deploy-ubuntu
28-
# android-arm64:
29-
# runs-on: ubuntu-20.04
30-
# strategy:
31-
# matrix:
32-
# ext: ["", -gpl]
33-
# steps:
34-
# - uses: actions/checkout@v4
35-
# - uses: ./.github/actions/deploy-ubuntu
36-
# android-x86:
37-
# runs-on: ubuntu-20.04
38-
# strategy:
39-
# matrix:
40-
# ext: ["", -gpl]
41-
# steps:
42-
# - uses: actions/checkout@v4
43-
# - uses: ./.github/actions/deploy-ubuntu
44-
# android-x86_64:
45-
# runs-on: ubuntu-20.04
46-
# strategy:
47-
# matrix:
48-
# ext: ["", -gpl]
49-
# steps:
50-
# - uses: actions/checkout@v4
51-
# - uses: ./.github/actions/deploy-ubuntu
52-
# linux-armhf:
53-
# runs-on: ubuntu-20.04
54-
# strategy:
55-
# matrix:
56-
# ext: ["", -gpl]
57-
# steps:
58-
# - uses: actions/checkout@v4
59-
# - uses: ./.github/actions/deploy-ubuntu
60-
# linux-arm64:
61-
# runs-on: ubuntu-20.04
62-
# strategy:
63-
# matrix:
64-
# ext: ["", -gpl]
65-
# steps:
66-
# - uses: actions/checkout@v4
67-
# - uses: ./.github/actions/deploy-ubuntu
68-
# linux-ppc64le:
69-
# runs-on: ubuntu-20.04
70-
# strategy:
71-
# matrix:
72-
# ext: ["", -gpl]
73-
# steps:
74-
# - uses: actions/checkout@v4
75-
# - uses: ./.github/actions/deploy-ubuntu
76-
# linux-x86:
77-
# runs-on: ubuntu-20.04
78-
# strategy:
79-
# matrix:
80-
# ext: ["", -gpl]
81-
# steps:
82-
# - uses: actions/checkout@v4
83-
# - uses: ./.github/actions/deploy-ubuntu
23+
# android-arm:
24+
# runs-on: ubuntu-20.04
25+
# strategy:
26+
# matrix:
27+
# ext: ["", -gpl]
28+
# steps:
29+
# - uses: actions/checkout@v4
30+
# - uses: ./.github/actions/deploy-ubuntu
31+
# android-arm64:
32+
# runs-on: ubuntu-20.04
33+
# strategy:
34+
# matrix:
35+
# ext: ["", -gpl]
36+
# steps:
37+
# - uses: actions/checkout@v4
38+
# - uses: ./.github/actions/deploy-ubuntu
39+
# android-x86:
40+
# runs-on: ubuntu-20.04
41+
# strategy:
42+
# matrix:
43+
# ext: ["", -gpl]
44+
# steps:
45+
# - uses: actions/checkout@v4
46+
# - uses: ./.github/actions/deploy-ubuntu
47+
# android-x86_64:
48+
# runs-on: ubuntu-20.04
49+
# strategy:
50+
# matrix:
51+
# ext: ["", -gpl]
52+
# steps:
53+
# - uses: actions/checkout@v4
54+
# - uses: ./.github/actions/deploy-ubuntu
55+
# linux-armhf:
56+
# runs-on: ubuntu-20.04
57+
# strategy:
58+
# matrix:
59+
# ext: ["", -gpl]
60+
# steps:
61+
# - uses: actions/checkout@v4
62+
# - uses: ./.github/actions/deploy-ubuntu
63+
# linux-arm64:
64+
# runs-on: ubuntu-20.04
65+
# strategy:
66+
# matrix:
67+
# ext: ["", -gpl]
68+
# steps:
69+
# - uses: actions/checkout@v4
70+
# - uses: ./.github/actions/deploy-ubuntu
71+
# linux-ppc64le:
72+
# runs-on: ubuntu-20.04
73+
# strategy:
74+
# matrix:
75+
# ext: ["", -gpl]
76+
# steps:
77+
# - uses: actions/checkout@v4
78+
# - uses: ./.github/actions/deploy-ubuntu
79+
# linux-x86:
80+
# runs-on: ubuntu-20.04
81+
# strategy:
82+
# matrix:
83+
# ext: ["", -gpl]
84+
# steps:
85+
# - uses: actions/checkout@v4
86+
# - uses: ./.github/actions/deploy-ubuntu
8487
linux-x86_64:
8588
runs-on: ubuntu-20.04
8689
strategy:
8790
matrix:
88-
ext: ["", -gpl]
91+
ext: [ "", -gpl ]
8992
steps:
9093
- uses: actions/checkout@v4
9194
- uses: ./.github/actions/deploy-ubuntu

0 commit comments

Comments
 (0)