π github[actions]: docker-compose > docker compose #756
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: Linux | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Create docker container | |
run: docker compose up -d dots | |
- name: Sync submodules | |
run: docker exec dots bash -c "git -C /home/cmiranda/dotfiles submodule sync --recursive && git submodule update --init --recursive /home/cmiranda/dotfiles" | |
- name: Run dotbot sync | |
run: docker exec dots bash -c "HOSTNAME=Linux-MBP /home/cmiranda/dotfiles/scripts/sync.sh" |