Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 20 additions & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
name: Deploy dotfiles
on:
push:
branches:
- main
branches:
- main
- screenshot
workflow_dispatch:
jobs:
deploy:
Expand All @@ -13,7 +14,22 @@ jobs:
with:
fetch-depth: 0

- name: CI setup run
- name: Run setup script with deploy CI flag
run: |
chmod +x setup.sh
./setup.sh --deploy-ci
./setup.sh --deploy-ci

- name: Wait for GUI applications to start
run: sleep 10

- name: Take desktop screenshot
run: |
screencapture -x ~/Desktop/dotfiles-setup-result.png
ls -la ~/Desktop/dotfiles-setup-result.png

- name: Upload screenshot as artifact
uses: actions/upload-artifact@v4
with:
name: dotfiles-screenshot
path: ~/Desktop/dotfiles-setup-result.png
retention-days: 30