Skip to content

Updated CHANGELOG.txt #320

Updated CHANGELOG.txt

Updated CHANGELOG.txt #320

Workflow file for this run

name: PHP Composer
on:
push:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-20.04
if: "startsWith(github.event.head_commit.message, 'version')"
steps:
- uses: actions/checkout@v3
- name: Setup PHP version
uses: shivammathur/setup-php@v2
with:
php-version: 7.4
- name: Install Composer dependencies
run: composer install
- name: Install NPM dependencies
run: |
chmod +x ./builder.sh
./builder.sh -t npm
- name: Compile static files
run: |
sudo ln -s "$(which node)" /usr/bin/node
./builder.sh -t build
- name: Build a package
run: ./builder.sh -t pack
env:
PRODUCT_NAME: ${{ secrets.PRODUCT_NAME }}
- name: Upload main package
run: ./builder.sh -t upload
env:
PRODUCT_NAME: ${{ secrets.PRODUCT_NAME }}
FTP_USER: ${{ secrets.FTP_USER }}
FTP_PASSWORD: ${{ secrets.FTP_PASSWORD }}
- name: DEMO - prepare demo package
run: ./builder.sh -t prepare-demo
env:
PRODUCT_NAME: ${{ secrets.PRODUCT_NAME }}
FTP_USER: ${{ secrets.FTP_USER }}
FTP_PASSWORD: ${{ secrets.FTP_PASSWORD }}
- name: DEMO - build demo static files
run: ./builder.sh -t build
env:
PRODUCT_NAME: ${{ secrets.PRODUCT_NAME }}
- name: DEMO - build demo package
run: ./builder.sh -t pack
env:
PRODUCT_NAME: ${{ secrets.PRODUCT_NAME }}
- name: DEMO - upload demo package
run: ./builder.sh -t upload-demo
env:
PRODUCT_NAME: ${{ secrets.PRODUCT_NAME }}
FTP_USER: ${{ secrets.FTP_USER }}
FTP_PASSWORD: ${{ secrets.FTP_PASSWORD }}