diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 02c4d31..2b86f31 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -63,7 +63,10 @@ jobs: name: docs path: docs - name: Clone gh-pages - run: git clone --branch gh-pages `git config --get remote.origin.url` gh-pages/ + uses: actions/checkout@v3 + with: + path: gh-pages + ref: gh-pages - name: Rsync docs run: rsync -rtv --del --exclude=.git docs/ gh-pages/ - name: Touch .nojekyll