Deploy gitea page #1
|
@ -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="
|
|
@ -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.
|
||||
|
|
Reference in New Issue