From de8bf706f6323411ea2a06f11fe5df953e9db32e Mon Sep 17 00:00:00 2001 From: n-peugnet Date: Fri, 25 Mar 2022 21:09:09 +0100 Subject: github action publish to club1.fr/docs --- .github/workflows/build.yml | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) (limited to '.github') diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 62b1abf..a922a11 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -12,14 +12,11 @@ jobs: with: pre-build-command: pip install myst-parser sphinx-rtd-theme docs-folder: . - - name: Upload artifacts - uses: actions/upload-artifact@v1 - with: - name: html-docs - path: _build/html/ - - name: Deploy - uses: peaceiris/actions-gh-pages@v3 - if: github.ref == 'refs/heads/main' - with: - github_token: ${{ secrets.GITHUB_TOKEN }} - publish_dir: _build/html + - name: Install RSA key + run: | + mkdir .ssh + chmod 700 .ssh + echo "${{ secrets.RSA_KEY }}" > .ssh/id_rsa + chmod 600 .ssh/id_rsa + - name: Publish + run: make publish USER=docs -- cgit v1.2.3