diff options
author | n-peugnet <n.peugnet@free.fr> | 2022-03-25 21:09:09 +0100 |
---|---|---|
committer | n-peugnet <n.peugnet@free.fr> | 2022-03-25 21:09:09 +0100 |
commit | de8bf706f6323411ea2a06f11fe5df953e9db32e (patch) | |
tree | 2747c6643ffa7dd45e8432f046ad194f439f2790 /.github/workflows | |
parent | 5d6397ddda48942bdbe4309ad2ade9e4eb6ecb5e (diff) | |
download | club1-docs-de8bf706f6323411ea2a06f11fe5df953e9db32e.tar.gz club1-docs-de8bf706f6323411ea2a06f11fe5df953e9db32e.zip |
github action publish to club1.fr/docs
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/build.yml | 19 |
1 files changed, 8 insertions, 11 deletions
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 |