Skip to content

Commit 311947a

Browse files
committed
run workflows from test deploy
Signed-off-by: Ashraf Fouda <ashraf.m.fouda@gmail.com>
1 parent 70736ce commit 311947a

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/bin-package-18.04.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ jobs:
5353
name: ${{ steps.package.outputs.name }}.flist
5454
- name: Tagging
5555
uses: threefoldtech/publish-flist@master
56-
if: success() && (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v'))
56+
if: success() && (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/testdeploy' )
5757
with:
5858
token: ${{ secrets.token }}
5959
action: tag

.github/workflows/bin-package.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555
cd bins
5656
./bins-extra.sh --package ${{ inputs.package }}
5757
- name: Publish flist (tf-autobuilder, ${{ steps.package.outputs.name }})
58-
if: success() && (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v'))
58+
if: success() && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/testdeploy' || startsWith(github.ref, 'refs/tags/v'))
5959
uses: threefoldtech/publish-flist@master
6060
with:
6161
token: ${{ secrets.token }}
@@ -65,7 +65,7 @@ jobs:
6565
name: ${{ steps.package.outputs.name }}.flist
6666
- name: Tagging
6767
uses: threefoldtech/publish-flist@master
68-
if: success() && (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v'))
68+
if: success() && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/testdeploy'|| startsWith(github.ref, 'refs/tags/v'))
6969
with:
7070
token: ${{ secrets.token }}
7171
action: tag

.github/workflows/publish.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ jobs:
7171
# will use the tag value (has to start with v)
7272
- name: Tagging
7373
uses: threefoldtech/publish-flist@master
74-
if: success() && (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v'))
74+
if: success() && (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v')|| github.ref == 'refs/heads/testdeploy')
7575
with:
7676
token: ${{ secrets.HUB_JWT }}
7777
action: tag
@@ -82,7 +82,7 @@ jobs:
8282
# only for main branch (devnet)
8383
# this basically releases this build to devnet
8484
- name: Cross tagging (development)
85-
if: success() && github.ref == 'refs/heads/main'
85+
if: success() && (github.ref == 'refs/heads/main'|| github.ref == 'refs/heads/testdeploy')
8686
uses: threefoldtech/publish-flist@master
8787
with:
8888
token: ${{ secrets.HUB_JWT }}

0 commit comments

Comments
 (0)