8000 Update package.json · ikuko/Sardinal@58c74e7 · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Trigger Repo Listing #21

Trigger Repo Listing

Trigger Repo Listing #21

name: Trigger Repo Listing
on:
workflow_dispatch:
release:
types: [published, created, edited, unpublished, deleted, released]
jobs:
# Build the VPM Listing Website and deploy to GitHub Pages
build-listing:
name: build-listing
runs-on: ubuntu-latest
steps:
# Create GitHub Apps token
- name: Create GitHub Apps token
id: app-token
uses: actions/create-github-app-token@v1
with:
app-id: ${{ vars.APP_ID }}
private-key: ${{ secrets.PRIVATE_KEY }}
owner: ${{ github.repository_owner }}
# Trigger repository listing
- name: Trigger repository listing
uses: actions/github-script@v7
with:
github-token: ${{ steps.app-token.outputs.token }}
script: |
await github.rest.actions.createWorkflowDispatch({
owner: 'hoshinolabs',
repo: 'com.hoshinolabs.vpm',
workflow_id: 'build-listing.yml',
ref: 'main',
})
0