Skip to content

update task names

update task names #5

Workflow file for this run

name: Documentation
on:
push:
branches:
- master
- docs
jobs:
documentation:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
- name: Setup PHP
uses: shivammathur/[email protected]
with:
php-version: 8.1
extensions: mbstring, dom, intl, iconv
- name: Install Dependencies
run: composer install --prefer-dist --no-progress --no-suggest --dev
- name: Install Daux
run: composer require daux/daux.io:^0.22.0 --prefer-dist --no-progress --no-suggest --dev
- name: Create Build Directory
run: mkdir -p build/daux
- name: Generate Documentation
run: vendor/bin/daux generate -d build/daux
- name: Deploy Documentation Website
uses: easingthemes/ssh-deploy@v4
with:
SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}
ARGS: "-rlgoDzvc -i"
SOURCE: "build/daux/"
REMOTE_HOST: ${{ secrets.DOCS_REMOTE_HOST }}
REMOTE_USER: ${{ secrets.DOCS_REMOTE_TARGET_PATH }}
TARGET: ${{ secrets.DOCS_REMOTE_USER }}
EXCLUDE: ".DS_Store, .git*"
SCRIPT_BEFORE: |
whoami
ls -al "${{ secrets.DOCS_REMOTE_TARGET_PATH }}"
SCRIPT_AFTER: |
whoami
ls -al "${{ secrets.DOCS_REMOTE_TARGET_PATH }}"
echo $RSYNC_STDOUT