Skip to content

Commit

Permalink
Add httpup stuff and update README. Also add github workflow actions
Browse files Browse the repository at this point in the history
  • Loading branch information
sepen committed Jan 2, 2024
1 parent 6d2c4a4 commit 7021529
Show file tree
Hide file tree
Showing 4 changed files with 46 additions and 1 deletion.
30 changes: 30 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: deploy

on:
push:
# Run for all branches except the main branch
branches-ignore:
- main
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest

steps:
# Checks-out your repository under $GITHUB_WORKSPACE
- uses: actions/checkout@v3

- name: Update REPO file
run: |
wget -P /tmp -q https://crux.nu/files/httpup-0.5.0.tar.xz
tar -C /tmp -xf /tmp/httpup-0.5.0.tar.xz httpup-0.5.0/httpup-repgen
/tmp/httpup-0.5.0/httpup-repgen
git add REPO
- name: Push to remote
run: |
git config user.name "$(git log -n 1 --pretty=format:%an)"
git config user.email "$(git log -n 1 --pretty=format:%ae)"
bash -c "git commit -a -m '[auto] Update REPO file' && git push || exit 0"
7 changes: 7 additions & 0 deletions .httpup-repgen-ignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
README.md
\.git*
*~
\.*~
^jornada7xx\-arm\.httpup
*work
*.pkg.*
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ CRUX-ARM ports overlay for HP Jornada 710/720/728
To use these ports, download the `jornada7xx-arm.httpup` file to `/etc/ports`:
```
$ sudo wget -P /etc/ports https://raw.githubusercontent.com/crux-arm/crux-ports-jornada7xx-arm/main/jornada7xx-arm.httpup
$ sudo wget -P /etc/ports https://raw.githubusercontent.com/crux-arm/crux-ports-jornada7xx-arm/2.6/jornada7xx-arm.httpup
$ sudo ports -u jornada7xx-arm
```

Expand Down
8 changes: 8 additions & 0 deletions jornada7xx-arm.httpup
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#
# /etc/ports/jornada7xx-arm.httpup: CRUX-ARM ports overlay for HP Jornada 710/720/728
#

ROOT_DIR=/usr/ports/jornada7xx-arm
URL=https://raw.githubusercontent.com/crux-arm/crux-ports-jornada7xx-arm/2.6/

# End of file

0 comments on commit 7021529

Please sign in to comment.