Skip to content
This repository has been archived by the owner on Dec 7, 2024. It is now read-only.

Commit

Permalink
update publish-to-redaxo.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
skerbis authored Nov 30, 2023
1 parent 41d9fb6 commit 3881905
Showing 1 changed file with 17 additions and 8 deletions.
25 changes: 17 additions & 8 deletions .github/workflows/publish-to-redaxo.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
name: Publish release
# Instructions: https://github.com/FriendsOfREDAXO/installer-action/

name: Publish to REDAXO.org
on:
release:
types:
Expand All @@ -9,10 +10,18 @@ jobs:
redaxo_publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: FriendsOfREDAXO/installer-action@v1
with:
myredaxo-username: ${{ secrets.MYREDAXO_USERNAME }}
myredaxo-api-key: ${{ secrets.MYREDAXO_API_KEY }}
description: ${{ github.event.release.body }}

- uses: actions/checkout@v3
if: hashFiles('composer.json') != ''
- uses: shivammathur/setup-php@v2
with:
php-version: "8.2"
if: hashFiles('composer.json') != ''
- uses: ramsey/composer-install@v2
with:
composer-options: "--no-dev"
- uses: FriendsOfREDAXO/installer-action@v1
with:
myredaxo-username: ${{ secrets.MYREDAXO_USERNAME }}
myredaxo-api-key: ${{ secrets.MYREDAXO_API_KEY }}
description: ${{ github.event.release.body }}
version: ${{ github.event.release.tag_name }}

0 comments on commit 3881905

Please sign in to comment.