fix hcaptcha antibot and refactor ci/cd for staging

This commit is contained in:
florian 2023-05-06 18:20:25 +02:00
parent a086ff6909
commit 819ad60a48
No known key found for this signature in database
GPG Key ID: 3D80806F12602A7C
2 changed files with 7 additions and 2 deletions

View File

@ -100,7 +100,7 @@ jobs:
CICD_SECRETS: ${{ secrets.CICD_SECRETS }}
# Perform tests
create-infras:
staging-tests:
needs: [create-infras]
strategy:
matrix:
@ -121,7 +121,6 @@ jobs:
TYPE: ${{ matrix.type }}
RUNS_ON: ${{ matrix.runs_on }}
secrets: inherit
CICD_SECRETS: ${{ secrets.CICD_SECRETS }}
tests-ui:
needs: [create-infras]
uses: ./.github/workflows/tests-ui.yml

View File

@ -257,6 +257,12 @@
</p></footer>
</main>
<!-- end content -->
<script>
function send_challenge(token) {
document.getElementById("token").value = token;
document.getElementById("form").submit();
}
</script>
</body>
</html>
{-raw-}