Skip to content

Commit

Permalink
Add action, docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Barry committed May 20, 2024
1 parent 2584835 commit 17ed9d2
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/zip.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Zip into spoon archive
on:
push:
branches:
- main

jobs:
zip-release:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Make folder
run: |
mkdir Spoons
mkdir PaperWM.spoon
cp init.lua PaperWM.spoon
- name: Create zip
run: zip -r -q Spoons/PaperWM.spoon.zip PaperWM.spoon

- name: Commit and push
uses: EndBug/add-and-commit@v9
with:
add: '["Spoons/PaperWM.spoon.zip --force"]'
message: "Bundle into zip"
push: origin release --set-upstream --force
new_branch: release
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Spoons/
Swipe.spoon/
.DS_Store
6 changes: 6 additions & 0 deletions docs/docs.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[
{
"name": "PaperWM",
"desc": "A package to enable a PaperWM like window management style"
}
]

0 comments on commit 17ed9d2

Please sign in to comment.