diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index b5b427a..82b82fc 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -23,12 +23,11 @@ jobs: - name: Install dependencies run: | + # Decrypt and Install sheet + echo {{ secrets.SHEET_PWD }} | gpg --batch --yes --passphrase-fd 0 ./libs/sheet-crypto.tgz.gpg cd client npm ci - # Install sheet - wget ${{ secrets.SHEETLINK }} - mv ${{ secrets.SHEETNAME }} ${{ secrets.SHEETNAME }}.tgz - npm i ${{ secrets.SHEETNAME }}.tgz + npm i ./libs/sheet-crypto.tgz # End - name: Licence checker diff --git a/client/src/app/editor/editor.component.ts b/client/src/app/editor/editor.component.ts index b49450a..e9d1d99 100644 --- a/client/src/app/editor/editor.component.ts +++ b/client/src/app/editor/editor.component.ts @@ -2263,8 +2263,8 @@ export class EditorComponent implements OnInit, AfterViewInit { setTimeout(() => { let txt: any = document.getElementById('formFields_8') - txt.focus() - }) + if (txt) txt.focus() + }, 200) }) // let cnt = 0; diff --git a/libs/sheet-crypto.tgz.gpg b/libs/sheet-crypto.tgz.gpg new file mode 100644 index 0000000..6877adf Binary files /dev/null and b/libs/sheet-crypto.tgz.gpg differ