fix hcaptcha antibot and refactor ci/cd for staging
This commit is contained in:
parent
a086ff6909
commit
819ad60a48
|
@ -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
|
||||
|
|
|
@ -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-}
|
||||
|
|
Loading…
Reference in New Issue