Create CNAME #38
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Jigsaw deploy | |
on: | |
push: | |
branches: | |
- docs | |
jobs: | |
build-and-deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout 🛎️ | |
uses: actions/checkout@v3 | |
- name: Setup PHP 🔧 | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: 8.1 | |
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick | |
coverage: none | |
tools: composer:v2 | |
- name: Install and Build 🔧 | |
run: | | |
composer install --no-interaction --prefer-dist --optimize-autoloader --no-dev | |
npm install --force | |
npm run prod | |
- name: Deploy 🚀 | |
uses: JamesIves/github-pages-deploy-action@v4 | |
with: | |
single-commit: true | |
token: ${{ secrets.ACCESS_TOKEN }} | |
branch: gh-pages | |
folder: build_production/ |