Support uploading to GitHub pages using artifacts instead of branches #9889
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: TagBot | |
on: | |
issue_comment: | |
types: | |
- created | |
workflow_dispatch: | |
inputs: | |
lookback: | |
default: 3 | |
permissions: | |
contents: write | |
jobs: | |
TagBot: | |
if: github.event_name == 'workflow_dispatch' || github.actor == 'JuliaTagBot' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: JuliaRegistries/TagBot@v1 | |
with: | |
changelog: | | |
{% if custom %} | |
{{ custom }} | |
{% endif %} | |
The changes are documented in the [`CHANGELOG.md`](https://github.com/JuliaDocs/Documenter.jl/blob/{{ version }}/CHANGELOG.md) file. | |
{% if previous_release %} | |
[Diff since {{ previous_release }}]({{ compare_url }}) | |
{% endif %} | |
token: ${{ secrets.GITHUB_TOKEN }} | |
ssh: ${{ secrets.DOCUMENTER_KEY }} |