Skip to content

CoreRoundup: Fix post 19 asym-vis RFC link #169

CoreRoundup: Fix post 19 asym-vis RFC link

CoreRoundup: Fix post 19 asym-vis RFC link #169

Workflow file for this run

name: Deploy website
on:
push:
branches:
- "main"
jobs:
deploy:
name: Deploy website
runs-on: "ubuntu-22.04"
steps:
- name: Checkout
uses: actions/checkout@main
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 20
- name: Install asset deps
run: npm install
- name: Build production assets
run: npx tailwind -i assets/css/app.css -o source/assets/css/app.css --minify
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.3
extensions: mbstring, intl, readline
tools: composer:v2
- name: Install PHP deps
uses: ramsey/composer-install@v2
- name: Build production site
run: ./vendor/bin/sculpin generate --env=prod
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
if: ${{ github.ref == 'refs/heads/main' }}
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./output_prod
cname: thephp.foundation