Added Google Captcha in the contact and register form #28
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI/CD Workflow-devl | |
on: | |
push: | |
branches: | |
- next | |
workflow_dispatch: | |
jobs: | |
build-and-deploy: | |
runs-on: self-hosted | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
with: | |
ref: next | |
- name: Node and Hugo versions | |
run: | | |
node --version | |
hugo version | |
- name: Install dependencies and build | |
run: | | |
npm install | |
node create_md_files/createMdFile.js && hugo --cacheDir /tmp/hugo_cache_ubh | |
- name: Archive build artifacts | |
run: | | |
tar -czvf devl-unblock.health_dist.tar.gz public | |
- name: Copy build artifacts to the production server | |
run: | | |
scp -P522 -o StrictHostKeyChecking=no devl-unblock.health_dist.tar.gz "${{ secrets.DEVELOPMENT_USER }}@${{ secrets.DEVELOPMENT_SERVER_IP }}:" | |
ssh -p522 -o StrictHostKeyChecking=no -t ${{ secrets.DEVELOPMENT_USER }}@${{ secrets.DEVELOPMENT_SERVER_IP }} "bash -i update-devl-unblock-health-com.sh" |