Move winfiles #23
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: 'Move winfiles' | |
run-name: 'Move winfiles' | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- '.github/**' | |
- 'docs/images/**' | |
- 'winfiles/**' | |
- '!winfiles/README.md' | |
concurrency: | |
group: ${{ github.workflow }} | |
permissions: | |
contents: write | |
env: | |
targetBranchName: 'winfiles' | |
otherSharedFiles: 'genfiles/browsers genfiles/vscode/vscode.json wslfiles/.config/starship.toml' # 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 | |
# continue-on-error: true | |
with: | |
targetBranchName: ${{ env.targetBranchName }} | |
otherSharedFiles: ${{ env.otherSharedFiles }} | |
otherDirs: ${{ env.otherDirs }} |