Skip to content

support plain text list of urls as autosuggestion source #52

support plain text list of urls as autosuggestion source

support plain text list of urls as autosuggestion source #52

Workflow file for this run

name: deployment
on:
push:
branches:
- master
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 7.4
extensions: mbstring, PDO, pdo_sqlite
- name: Run Composer
run: composer install
- name: Setup SSH Key
uses: shimataro/ssh-key-action@v2
with:
key: ${{ secrets.SSH_PRIVATE_KEY }}
# generate with ssh-keyscan -H <server>
known_hosts: ${{ secrets.SSH_KNOWN_HOSTS }}
- name: Deploy to Server
run: |
chmod 777 data
rsync -avz ./ ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }}:${{ secrets.TARGET_DIR }}