Closed miloskroulik closed 3 years ago
Might be relevant for anyone who stumbles upon this: If you just have a branch in you repo you want to push the folder 'build' to. The you can use peaceiris' script:
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./build
publish_branch: master
Notice: This works right out of the box, you do not need to set a GITHUB_TOKEN, github does that automatically for you as opposed to provide a ssh private and public key.
Fixed in #42
Now fixed in latest release: https://github.com/s0/git-publish-subdir-action/releases/tag/v2.4.1
In the ouput of the action run, I see: