Skip to content

BeeRef 0.3.0 (2023-11-23) #5

BeeRef 0.3.0 (2023-11-23)

BeeRef 0.3.0 (2023-11-23) #5

Workflow file for this run

name: Update Website
on:
workflow_dispatch:
release:
types: [published]
jobs:
refresh:
runs-on: ubuntu-latest
steps:
- name: Trigger GitHub pages rebuild
run: |
curl --fail --request POST \
--url https://api.github.com/repos/${{ github.repository }}/pages/builds \
--header "Authorization: Bearer $USER_TOKEN"
env:
# You must create a personal token with repo access as GitHub does
# not yet support server-to-server page builds.
USER_TOKEN: ${{ secrets.USER_TOKEN }}