Skip to content

Commit 5172e62

Browse files
committed
Move documentation from buld to new release job
1 parent 2277be5 commit 5172e62

2 files changed

Lines changed: 21 additions & 13 deletions

File tree

.github/workflows/build.yml

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -56,16 +56,3 @@ jobs:
5656
export CODECOVERAGE=1 && vendor/bin/phpunit --verbose --coverage-clover=clover.xml
5757
composer global require php-coveralls/php-coveralls
5858
php-coveralls --coverage_clover=clover.xml -v
59-
60-
documentation:
61-
name: Documentation
62-
runs-on: ubuntu-latest
63-
steps:
64-
- if: github.ref == 'refs/heads/master'
65-
name: executing remote ssh commands using password
66-
uses: appleboy/ssh-action@master
67-
with:
68-
host: mixerapi.com
69-
username: ${{ secrets.MIXERAPI_COM_USER}}
70-
key: ${{ secrets.MIXERAPI_COM_PRIVATE_KEY}}
71-
script: ${{ secrets.MIXERAPI_COM_DEPLOY_CMD}}

.github/workflows/release.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Release
2+
3+
on:
4+
create:
5+
tags:
6+
- "v*.*.*"
7+
8+
jobs:
9+
10+
documentation:
11+
name: Documentation
12+
runs-on: ubuntu-latest
13+
steps:
14+
- if: github.ref == 'refs/heads/master'
15+
name: executing remote ssh commands using password
16+
uses: appleboy/ssh-action@master
17+
with:
18+
host: mixerapi.com
19+
username: ${{ secrets.MIXERAPI_COM_USER}}
20+
key: ${{ secrets.MIXERAPI_COM_PRIVATE_KEY}}
21+
script: ${{ secrets.MIXERAPI_COM_DEPLOY_CMD}}

0 commit comments

Comments
 (0)