Skip to content

Rebuild Site

Rebuild Site #2

Workflow file for this run

name: "Rebuild Site"
on:
workflow_dispatch:
permissions:
contents: write
jobs:
setup:
name: "Setup"
runs-on: "ubuntu-latest"
outputs:
repo: ${{ steps.echo.outputs.repo }}
email: ${{ steps.echo.outputs.email }}
slug: ${{ steps.echo.outputs.slug }}
steps:
- id: echo
run: |
name="${{ github.event.repository.name }}"
owner="${{ github.event.repository.owner.login }}"
id="${{ github.event.repository.owner.id }}"
email="[email protected]"
{
echo 'repo<<EOF'
echo [{'"'name'"': '"'$name'"', '"'owner'"': '"'$owner'"'}]
echo EOF
} >> "$GITHUB_OUTPUT"
echo slug=$owner >> "$GITHUB_OUTPUT"
echo email=$email >> "$GITHUB_OUTPUT"
site:
needs: [setup]
uses: hubverse-org/hub-dashboard-control-room/.github/workflows/generate-site.yaml@main
with:
repos: '${{ needs.setup.outputs.repo }}'
slug: '${{ needs.setup.outputs.slug }}'
email: '${{ needs.setup.outputs.email }}'
secrets:
id: 'none'
key: ${{ secrets.GITHUB_TOKEN }}