diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml new file mode 100644 index 0000000..7590443 --- /dev/null +++ b/.gitea/workflows/deploy.yml @@ -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=" diff --git a/README.md b/README.md index 8a52159..47b756a 100644 --- a/README.md +++ b/README.md @@ -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. \ No newline at end of file +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.