This commit is contained in:
parent
9a0a13fea0
commit
73b0a98d6e
2 changed files with 2 additions and 23 deletions
|
@ -9,7 +9,7 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
pacman -Syu --noconfirm
|
pacman -Syu --noconfirm
|
||||||
pacman -Sy --noconfirm nodejs npm git
|
pacman -Sy --noconfirm nodejs npm git
|
||||||
pacman -Sy --noconfirm shellcheck openssh rsync
|
pacman -Sy --noconfirm shellcheck
|
||||||
pacman -Scc --noconfirm
|
pacman -Scc --noconfirm
|
||||||
|
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
@ -31,14 +31,3 @@ jobs:
|
||||||
cp *.tar.gz ${{ github.workspace }}/_pkg/
|
cp *.tar.gz ${{ github.workspace }}/_pkg/
|
||||||
echo "Produced package and AUR contents"
|
echo "Produced package and AUR contents"
|
||||||
ls -la ${{ github.workspace }}/_pkg/
|
ls -la ${{ github.workspace }}/_pkg/
|
||||||
|
|
||||||
- name: Synchronize to custom ArchLinux User Repository
|
|
||||||
env:
|
|
||||||
KEY: ${{ secrets.DEPLOY_SSH_KEY }}
|
|
||||||
USER: ${{ secrets.DEPLOY_SSH_USER }}
|
|
||||||
HOST: ${{ secrets.DEPLOY_SSH_HOST }}
|
|
||||||
run: |
|
|
||||||
mkdir -p ~/.ssh
|
|
||||||
echo -n $KEY | base64 -di >> ~/.ssh/id_rsa
|
|
||||||
chmod 600 ~/.ssh/id_rsa
|
|
||||||
rsync -az -zz -r --del -e 'ssh -p 2222 -o UserKnownHostsFile=/dev/null -o LogLevel=quiet -o StrictHostKeyChecking=no' ${{ github.workspace }}/_pkg/{*.zst,*.db.tar.gz,*.files.tar.gz} $USER@$HOST:/srv/http/myservermanager.com/htdocs/aur/
|
|
||||||
|
|
12
README.md
12
README.md
|
@ -30,16 +30,6 @@ be copied inside $HOME or /etc depending on the helper script.
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
### Package repository for Arch Linux
|
|
||||||
|
|
||||||
Use the custom provided ArchLinux repository hosted at `aur.myservermanager.com`
|
|
||||||
|
|
||||||
```shell
|
|
||||||
[repo-aur-myservermanager-com]
|
|
||||||
SigLevel = Never
|
|
||||||
Server = https://aur.myservermanager.com
|
|
||||||
```
|
|
||||||
|
|
||||||
### Package build for Arch Linux
|
### Package build for Arch Linux
|
||||||
|
|
||||||
1. Clone this repository
|
1. Clone this repository
|
||||||
|
@ -108,4 +98,4 @@ This would make `network-online.target` available after a _reboot_ to the user w
|
||||||
|
|
||||||
### `network-online.target` doesn't recognize DNS correctly
|
### `network-online.target` doesn't recognize DNS correctly
|
||||||
|
|
||||||
If you like to set `Persistent=true`, then you should probably equip the related `.service` file with a `ExecStartPre=/bin/bash -c 'until host captiveportal.myservermanager.com; do sleep 1; done'` or any domain you think is 100% reachable.
|
If you like to set `Persistent=true`, then you should probably equip the related `.service` file with a `ExecStartPre=/bin/bash -c 'until host captiveportal.myservermanager.com; do sleep 1; done'` or any domain you think is 100% reachable.
|
||||||
|
|
Loading…
Reference in a new issue