Skip to content

first

first #3

Workflow file for this run

name: Publish
on:
push:
branches:
- master
permissions:
contents: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@master
- name: Validate composer.json and composer.lock
run: cd docs && composer validate
- name: Composer
run: cd docs && composer install --no-progress --no-suggest
- name: Node
run: cd docs && npm install
- name: Production
run: cd docs && npm run prod
- name: CNAME
run: cd docs && echo "laraxot.github.io/module_tenant" > ./build_production/CNAME
- name: gh-pages
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages
folder: ./docs/build_production