Update workspace/scripts/todoist #44
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
on: | |
push: | |
branches: | |
- main | |
workflow_dispatch: | |
name: Sync Dotifle And Slim Dotfile | |
jobs: | |
sync-files: | |
strategy: | |
max-parallel: 3 | |
matrix: | |
repo: [dotfile-slim] | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Sync Zshrc | |
uses: dmnemec/copy_file_to_another_repo_action@main | |
env: | |
API_TOKEN_GITHUB: ${{ secrets.SYNC_TOKEN }} | |
with: | |
source_file: "dot_zshrc" | |
destination_repo: "MovieMaker93/${{ matrix.repo }}" | |
destination_folder: "/" | |
user_email: "39483124+alfonsofortunato@users.noreply.github.com" | |
user_name: "Alfonso_Fortunato" | |
commit_message: "${{ github.event.head_commit.message }}\n[skip ci]\nAutomated sync from moviemaker/nix" | |
git_server: "github.com" | |
- name: Sync Config Directories | |
uses: dmnemec/copy_file_to_another_repo_action@main | |
env: | |
API_TOKEN_GITHUB: ${{ secrets.SYNC_TOKEN }} | |
with: | |
source_file: "dot_config/" | |
destination_repo: "MovieMaker93/${{ matrix.repo }}" | |
destination_folder: "/" | |
user_email: "39483124+alfonsofortunato@users.noreply.github.com" | |
user_name: "Alfonso_Fortunato" | |
commit_message: "${{ github.event.head_commit.message }}\n[skip ci]\nAutomated sync from moviemaker/nix" | |
git_server: "github.com" | |
- name: Sync Local Directories | |
uses: dmnemec/copy_file_to_another_repo_action@main | |
env: | |
API_TOKEN_GITHUB: ${{ secrets.SYNC_TOKEN }} | |
with: | |
source_file: "dot_local/" | |
destination_repo: "MovieMaker93/${{ matrix.repo }}" | |
destination_folder: "/" | |
user_email: "39483124+alfonsofortunato@users.noreply.github.com" | |
user_name: "Alfonso_Fortunato" | |
commit_message: "${{ github.event.head_commit.message }}\n[skip ci]\nAutomated sync from moviemaker/nix" | |
git_server: "github.com" | |
- name: Sync ZSH aliases | |
uses: dmnemec/copy_file_to_another_repo_action@main | |
env: | |
API_TOKEN_GITHUB: ${{ secrets.SYNC_TOKEN }} | |
with: | |
source_file: "zsh-alias/" | |
destination_repo: "MovieMaker93/${{ matrix.repo }}" | |
destination_folder: "/" | |
user_email: "39483124+alfonsofortunato@users.noreply.github.com" | |
user_name: "Alfonso_Fortunato" | |
commit_message: "${{ github.event.head_commit.message }}\n[skip ci]\nAutomated sync from moviemaker/nix" | |
git_server: "github.com" | |
- name: Sync Tmux conf | |
uses: dmnemec/copy_file_to_another_repo_action@main | |
env: | |
API_TOKEN_GITHUB: ${{ secrets.SYNC_TOKEN }} | |
with: | |
source_file: "dot_tmux.conf" | |
destination_repo: "MovieMaker93/${{ matrix.repo }}" | |
destination_folder: "/" | |
user_email: "39483124+alfonsofortunato@users.noreply.github.com" | |
user_name: "Alfonso_Fortunato" | |
commit_message: "${{ github.event.head_commit.message }}\n[skip ci]\nAutomated sync from moviemaker/nix" | |
git_server: "github.com" | |
- name: Sync Wezterm conf | |
uses: dmnemec/copy_file_to_another_repo_action@main | |
env: | |
API_TOKEN_GITHUB: ${{ secrets.SYNC_TOKEN }} | |
with: | |
source_file: "dot_wezterm.lua" | |
destination_repo: "MovieMaker93/${{ matrix.repo }}" | |
destination_folder: "/" | |
user_email: "39483124+alfonsofortunato@users.noreply.github.com" | |
user_name: "Alfonso_Fortunato" | |
commit_message: "${{ github.event.head_commit.message }}\n[skip ci]\nAutomated sync from moviemaker/nix" | |
git_server: "github.com" |