Skip to content

Move winfiles

Move winfiles #34

name: 'Move winfiles'
run-name: 'Move winfiles'
on:
push:
branches:
- main
paths:
- 'genfiles/images/**'
- 'winfiles/**'
- '!winfiles/README.md'
concurrency:
group: ${{ github.workflow }}
permissions:
contents: write
env:
targetBranchName: 'winfiles'
otherSharedFiles: '' # space separated
otherDirs: 'genfiles/images' # space separated
jobs:
move-files:
runs-on: ubuntu-latest
name: ${{ github.workflow }}
steps:
- name: 'Checkout repository'
id: checkout-repo
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: 'Move ${{ env.targetBranchName }} branch files'
id: move-branch-files
uses: ./.github/actions/templates/moveFiles
with:
targetBranchName: ${{ env.targetBranchName }}
otherSharedFiles: ${{ env.otherSharedFiles }}
otherDirs: ${{ env.otherDirs }}