Skip to content

cysec-lab/pushtopub_public

Repository files navigation

PrivateレポジトリにPushするとPublicレポジトリに一部がコピーされ、GitHub PagesにデプロイするPoC

↑のとおりです。

image

private action file

pushtopub_private/.github/workflows/action.yaml

name: Action Trigger
on:
  push:
    branches:
      - main

jobs:
  deploy:
    name: Deploy
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v3
      - uses: convictional/trigger-workflow-and-wait@v1.6.5
        with:
          owner: cysec-lab    # change this
          repo: pushtopub_public # change this
          github_token: ${{ secrets.ORG_GITHUB_PAT }}
          workflow_file_name: deploy.yaml
          propagate_failure: true

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published