Skip to content

Commit

Permalink
Create Copy_Action_On_WebSite_Branch.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ZigRazor authored Mar 7, 2024
1 parent 5655a36 commit 2000211
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/Copy_Action_On_WebSite_Branch.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Copy Github Action on Other Branch

on:
workflow_dispatch:
push:
#paths-ignore:
#- '.github/**' # Ignore changes towards the .github directory
paths:
- '.github'
branches:
- master # Only trigger on the master branch

jobs:
build:
runs-on: [ubuntu-latest]
steps:
- name: Copy
uses: andstor/copycat-action@v3
with:
personal_token: ${{ secrets.PERSONAL_TOKEN }}
src_path: /.github
dst_path: /.github
src_branch: master
dst_branch: WebSite
username: ZigRazor
email: zigrazor@gmail.com
dst_owner: ZigRazor
dst_repo_name: CXXGraph

0 comments on commit 2000211

Please sign in to comment.