Skip to content

Update doc installation #34

Update doc installation

Update doc installation #34

Workflow file for this run

name: Build Release
on:
push:
branches:
- main
permissions:
contents: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install PHP
uses: "shivammathur/setup-php@v2"
with:
php-version: "latest"
- name: Install Composer Dependencies
uses: php-actions/composer@v6
with:
php_version: "latest"
command: install --no-progress --no-dev --optimize-autoloader --ignore-platform-req=ext-exif --ignore-platform-req=ext-gd
- name: Install Block Emails Dependencies
working-directory: ./um-block-emails
run: |
composer install --prefer-dist --no-dev
git rm .gitignore
- name: Commit files
run: |
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
git rm .gitignore
git add um-block-emails/vendor/\*
git add vendor/\*
git commit -a -m "Composer Installed"
- name: Push changes
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.UM_EXTENDED_ACTION_SECRET }}
branch: releases
repository: ultimatemember/Extended
force: true