Skip to content

Merge branch 'next-39986/auto-imported-from-github' into 'trunk' #5

Merge branch 'next-39986/auto-imported-from-github' into 'trunk'

Merge branch 'next-39986/auto-imported-from-github' into 'trunk' #5

Workflow file for this run

name: Deploy
on:
push:
branches:
- trunk
permissions:
id-token: write # This is required for requesting the JWT
contents: read
jobs:
release-schedule:
runs-on: ubuntu-24.04
if: github.repository == 'shopware/shopware'
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 2
- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@v44
with:
files: |
releases.json
- name: Configure aws credentials
if: steps.changed-files.outputs.any_changed == 'true'
uses: aws-actions/configure-aws-credentials@v3
with:
role-to-assume: arn:aws:iam::${{ secrets.AWS_ACCOUNT_ID }}:role/UploadReleaseCalendar
role-session-name: github-actions
aws-region: eu-central-1
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.3
- name: Publish release schedule
if: steps.changed-files.outputs.any_changed == 'true'
env:
GH_TOKEN: ${{ github.token }}
run: |
gh release download --repo shopware/release-schedule --pattern 'release-schedule.phar'
php release-schedule.phar publish