fix: typo 🥴 #4
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: cecil | |
on: | |
workflow_dispatch: ~ | |
push: | |
branches: | |
- master | |
permissions: | |
contents: write | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
name: deploy static website | |
steps: | |
- name: checkout | |
uses: actions/checkout@v3 | |
- uses: shivammathur/setup-php@v2 | |
with: | |
php-version: 7.2 | |
coverage: none | |
- run: curl -LO https://cecil.app/download/4.13.0/cecil.phar | |
- run: chmod +x cecil.phar | |
- run: php cecil.phar --version | |
- run: composer selfupdate --1 | |
- run: composer install --prefer-dist --no-progress --no-interaction --no-dev --optimize-autoloader --no-suggest | |
- name: build | |
run: php cecil.phar build | |
- name: deploy | |
uses: JamesIves/github-pages-deploy-action@v4 | |
with: | |
folder: _site | |
branch: gh-pages |