From fba8741e78311b3c09eaec6c28e17758dda8f150 Mon Sep 17 00:00:00 2001 From: ADmad Date: Thu, 14 Sep 2023 08:35:09 +0530 Subject: [PATCH] Add config file to deploy v3 docs. --- .github/workflows/deploy_docs_3x.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/deploy_docs_3x.yml diff --git a/.github/workflows/deploy_docs_3x.yml b/.github/workflows/deploy_docs_3x.yml new file mode 100644 index 00000000..bb2577de --- /dev/null +++ b/.github/workflows/deploy_docs_3x.yml @@ -0,0 +1,23 @@ +--- +name: 'deploy_docs_3x' + +on: + push: + branches: + - 3.x + workflow_dispatch: + +jobs: + deploy: + runs-on: ubuntu-latest + steps: + - name: Cloning repo + uses: actions/checkout@v4 + with: + fetch-depth: 0 + + - name: Push to dokku + uses: dokku/github-action@master + with: + git_remote_url: 'ssh://dokku@apps.cakephp.org:22/authentication-docs-3' + ssh_private_key: ${{ secrets.DOKKU_SSH_PRIVATE_KEY }}