Skip to content

Commit 1997955

Browse files
authored
publish-to-redaxo-org.yml
1 parent 10f0779 commit 1997955

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# Instructions: https://github.com/FriendsOfREDAXO/installer-action/
2+
3+
name: Publish to REDAXO.org
4+
on:
5+
release:
6+
types:
7+
- published
8+
9+
jobs:
10+
redaxo_publish:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v3
14+
- if: hashFiles('composer.json') != ''
15+
uses: shivammathur/setup-php@v2
16+
with:
17+
php-version: "8.2"
18+
- if: hashFiles('composer.json') != ''
19+
uses: ramsey/composer-install@v2
20+
with:
21+
composer-options: "--no-dev"
22+
- uses: FriendsOfREDAXO/installer-action@v1
23+
with:
24+
myredaxo-username: ${{ secrets.MYREDAXO_USERNAME }}
25+
myredaxo-api-key: ${{ secrets.MYREDAXO_API_KEY }}
26+
description: ${{ github.event.release.body }}
27+
version: ${{ github.event.release.tag_name }}

0 commit comments

Comments
 (0)