feat: update git unpark to last non wip commit #478
Workflow file for this run
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: Test | |
on: | |
push: | |
branches-ignore: | |
- main | |
jobs: | |
test: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.x" | |
- name: Install Ansible | |
run: pip install ansible | |
- name: Check Ansible path | |
run: echo 'export PATH="$(python3 -m site --user-base)/bin:$PATH"' >> $GITHUB_ENV | |
- name: Installs ansible and pip | |
run: ansible-galaxy collection install -r requirements.yml | |
- name: makes this target | |
run: ansible-playbook thiscomputer.yml -i hosts -e "hostname=github-runner" | |
- name: Runs the debug target | |
run: make debug | |
- name: runs the terminal target | |
run: make terminal | |
- name: runs the functions target | |
run: make functions | |
- name: cat zshrc | |
run: cat ~/.macfair/version | |
- name: runs the newcomputer target with vars to bypass prompt | |
run: ansible-playbook newcomputer.yml -i hosts -e "target=dox.io37.ch" -e "user=deploy" -e "group=debian" | |
- name: use http version of sites repo just for gh action so as not to bother w keys | |
run: | | |
echo 'nginx_repo: "https://github.com/cerico/nginx-files.git"' >> host_vars/localhost.yml | |
- name: Run the newsite target with vars to bypass prompt | |
run: ansible-playbook newsite.yml -i hosts -e "app_name=yes.mate" | |
- name: Is new entry in sites/Makefile | |
run: cd ../sites && make | |
- name: source zshrc & run main functions | |
run: source ~/.zshrc && run_all_functions | |
shell: zsh {0} |