Skip to content

collection-updated #1612

collection-updated

collection-updated #1612

Workflow file for this run

name: Update the repo with the latest commit version
on:
push:
branches:
- main
repository_dispatch:
types: [collection-updated]
jobs:
collection-updated-event:
runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
php: [8.2]
laravel: [^9.0]
name: PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }}
steps:
- name: Checkout code
uses: actions/checkout@v2
with:
ref: ${{ github.event.client_payload.ref }}
- run: echo ${{ github.event.client_payload.sha }}
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
extensions: dom, curl, libxml, mbstring, zip
coverage: none
- name: Install dependencies
run: composer update --prefer-dist --no-interaction --no-progress
- name: Commit changes
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: Updated collection
- uses: deployphp/action@v1
with:
dep: deploy production
private-key: ${{ secrets.FORGE_PKEY }}