lxqt/.github/workflows/deploy.yml
mac-a-r0ni d0ce5bde35
Some checks failed
deploy / build (push) Has been cancelled
Update deploy.yml
2025-01-07 19:29:13 -05:00

30 lines
815 B
YAML

name: deploy
on:
push:
branches:
- '*'
# 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"