1
0
Fork 0

Deploy gitea page #1

Merged
oysteikt merged 2 commits from deploy-gitea-page into master 2024-06-02 00:10:43 +02:00
2 changed files with 23 additions and 3 deletions

View File

@ -0,0 +1,22 @@
name: "Deploy"
on:
push:
branches:
- master
pull_request:
jobs:
deploy:
runs-on: ubuntu-latest-personal
steps:
- uses: actions/checkout@v3
- name: Deploy to webdocs
uses: https://git.pvv.ntnu.no/oysteikt/rsync-action@main
with:
source: .
target: google-ime-handwriting-request/${{ gitea.ref_name }}/
username: oysteikt
ssh-key: ${{ secrets.OYSTEIKT_GITEA_WEBDOCS_SSH_KEY }}
host: microbel.pvv.ntnu.no
known-hosts: "microbel.pvv.ntnu.no ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEq0yasKP0mH6PI6ypmuzPzMnbHELo9k+YB5yW534aKudKZS65YsHJKQ9vapOtmegrn5MQbCCgrshf+/XwZcjbM="

View File

@ -2,8 +2,6 @@
Example of direct usage of the API behind handwriting in google translate.
https://h7x4abk3g.github.io/google-ime-handwriting-request/
### Example request data:
```json
@ -40,4 +38,4 @@ https://h7x4abk3g.github.io/google-ime-handwriting-request/
}
```
where ink is an array of strokes. A stroke is formatted as an array containing three arrays. They contain every points x-values, y-values and the time between point creation and the beginning of the stroke.
where ink is an array of strokes. A stroke is formatted as an array containing three arrays. They contain every points x-values, y-values and the time between point creation and the beginning of the stroke.