feat: use librepages

This commit is contained in:
Aravinth Manivannan 2023-02-13 17:28:10 +05:30
parent 24efc5b796
commit de965eed7f
Signed by: realaravinth
GPG key ID: AD9F0F08E855ED88
2 changed files with 2 additions and 2 deletions

View file

@ -3,7 +3,7 @@ pipeline:
image: python image: python
when: when:
event: [ push, pull_request, tag, deployment ] event: [ push, pull_request, tag, deployment ]
branch: master branch: mcaptcha-io
commands: commands:
- curl -fsSL https://deb.nodesource.com/setup_16.x | bash - &&\ - curl -fsSL https://deb.nodesource.com/setup_16.x | bash - &&\
- apt update && apt-get -y --no-install-recommends install nodejs tar gpg curl wget - apt update && apt-get -y --no-install-recommends install nodejs tar gpg curl wget

View file

@ -11,7 +11,7 @@ ci-deploy: ## Deploy from CI/CD. Only call from within CI
./scripts/hugo.sh deploy librepages public "${CI_COMMIT_AUTHOR} <${CI_COMMIT_AUTHOR_EMAIL}>" ./scripts/hugo.sh deploy librepages public "${CI_COMMIT_AUTHOR} <${CI_COMMIT_AUTHOR_EMAIL}>"
./scripts/ci.sh --init "$$FORGEJO_WRITE_DEPLOY_KEY" ./scripts/ci.sh --init "$$FORGEJO_WRITE_DEPLOY_KEY"
cat /tmp/ci-ssh-id cat /tmp/ci-ssh-id
./scripts/ci.sh --deploy ${LIBREPAGES_DEPLOY_SECRET} librepages ./scripts/ci.sh --deploy ${LIBREPAGES_DEPLOY_SECRET_MCAPTCHA_IO} librepages-mcaptcha-io
./scripts/ci.sh --clean ./scripts/ci.sh --clean
env: ## Download build dependencies and setup dev environment env: ## Download build dependencies and setup dev environment