![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/mautic.corals.io/.github/workflows/ |
name: Build JS files for dist folder on: # Allow manually triggering this workflow workflow_dispatch: schedule: # Run every day at 10 AM UTC - cron: '0 10 * * *' defaults: run: working-directory: plugins/GrapesJsBuilderBundle permissions: contents: read jobs: build-js: permissions: contents: write # for peter-evans/create-pull-request to create branch pull-requests: write # for peter-evans/create-pull-request to create a PR runs-on: ubuntu-latest if: github.repository == 'mautic/mautic' steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v3 with: node-version: '16' - name: Install dependencies run: npm install - name: Build JS dist files run: npm run build # Checks if the JS files have been updated as a result of the NPM build, # and creates a PR if necessary. - name: Create Pull Request uses: peter-evans/create-pull-request@v3 with: commit-message: 'Auto-update GrapesJS generated JS dist files' title: 'Update GrapesJS generated JS dist files' delete-branch: true