From 0a76336fef4a2aeb069b85b5b532eab52bcdae0a Mon Sep 17 00:00:00 2001 From: Alexander Walther Date: Fri, 15 Dec 2023 21:07:30 +0100 Subject: [PATCH] Create publish-to-redaxo.yml --- .github/workflows /publish-to-redaxo.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows /publish-to-redaxo.yml diff --git a/.github/workflows /publish-to-redaxo.yml b/.github/workflows /publish-to-redaxo.yml new file mode 100644 index 0000000..c1927fd --- /dev/null +++ b/.github/workflows /publish-to-redaxo.yml @@ -0,0 +1,24 @@ +name: Publish release + +on: + release: + types: + - published + +jobs: + redaxo_publish: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: shivammathur/setup-php@v2 + with: + php-version: "8.2" + - 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 }} +