Add scheduled task for altsnap ⚗️ #64
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 to dots | |
jobs: | |
copy-file: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Sync Neovim | |
uses: dmnemec/copy_file_to_another_repo_action@main | |
env: | |
API_TOKEN_GITHUB: ${{ secrets.SYNC_TOKEN }} | |
with: | |
source_file: "nvim/" | |
destination_repo: "scottmckendry/dots" | |
destination_folder: "/" | |
user_email: "[email protected]" | |
user_name: "Scott McKendry" | |
commit_message: "${{ github.event.head_commit.message }}\n[skip ci]\nAutomated sync from scottmckendry/Windots" | |
git_server: "github.com" | |
- name: Sync Starship | |
uses: dmnemec/copy_file_to_another_repo_action@main | |
env: | |
API_TOKEN_GITHUB: ${{ secrets.SYNC_TOKEN }} | |
with: | |
source_file: "starship/" | |
destination_repo: "scottmckendry/dots" | |
destination_folder: "/" | |
user_email: "[email protected]" | |
user_name: "Scott McKendry" | |
commit_message: "${{ github.event.head_commit.message }}\n[skip ci]\nAutomated sync from scottmckendry/Windots" | |
git_server: "github.com" | |
- name: Sync Lazygit | |
uses: dmnemec/copy_file_to_another_repo_action@main | |
env: | |
API_TOKEN_GITHUB: ${{ secrets.SYNC_TOKEN }} | |
with: | |
source_file: "lazygit/" | |
destination_repo: "scottmckendry/dots" | |
destination_folder: "/" | |
user_email: "[email protected]" | |
user_name: "Scott McKendry" | |
commit_message: "${{ github.event.head_commit.message }}\n[skip ci]\nAutomated sync from scottmckendry/Windots" | |
git_server: "github.com" |