Skip to content

Fix install.sh for standard users #14

Fix install.sh for standard users

Fix install.sh for standard users #14

name: Trigger Deploy to Pages
on:
push:
branches: main
paths:
- .github/workflows/Trigger-Deploy-to-Pages.yml
- install.sh
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
Trigger-Deploy-to-Pages:
name: Trigger Deploy to Pages
runs-on: macos-latest
steps:
- name: Trigger Deploy to Pages
uses: actions/github-script@main
with:
github-token: ${{ secrets.TRIGGER_DEPLOY_TO_PAGES_TOKEN }}
script: |
await github.rest.actions.createWorkflowDispatch({
owner: "F1248",
repo: "f1248.github.io",
workflow_id: "Deploy-to-Pages.yml",
ref: "main",
});