forked from coo-ops.space/helm-charts
Fix Gitea Deployment fully
This commit is contained in:
parent
7bcc4aa117
commit
a75e56947a
@ -13,7 +13,7 @@ jobs:
|
||||
- name: install tools
|
||||
run: |
|
||||
apt update -y
|
||||
apt install -y curl
|
||||
apt install -y curl lftp
|
||||
curl https://baltocdn.com/helm/signing.asc | gpg --dearmor | tee /usr/share/keyrings/helm.gpg > /dev/null
|
||||
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/helm.gpg] https://baltocdn.com/helm/stable/debian/ all main" | tee /etc/apt/sources.list.d/helm-stable-debian.list
|
||||
apt update -y
|
||||
@ -43,11 +43,5 @@ jobs:
|
||||
done
|
||||
|
||||
- name: Deploy to FTP Server
|
||||
uses: https://github.com/SamKirkland/FTP-Deploy-Action@v4.3.4
|
||||
with:
|
||||
server: ${{ secrets.ftp_host }}
|
||||
username: ${{ secrets.ftp_user }}
|
||||
server-dir: ./
|
||||
local-dir: "./_build/"
|
||||
protocol: ftps
|
||||
password: ${{ secrets.ftp_password }}
|
||||
run: |
|
||||
lftp ${{ secrets.ftp_host }} -u ${{ secrets.ftp_user }},${{ secrets.ftp_password }} -e "set ftp:ssl-protect-data true; set ftp:ssl-force true; set ssl:verify-certificate true; mirror --overwrite --reverse --continue --dereference -x ^\.git/$ ./_build/ ./; quit"
|
||||
|
2
Makefile
2
Makefile
@ -18,7 +18,7 @@ romm: configure romm_ci
|
||||
helm package charts/stable/romm/ -d _build/
|
||||
|
||||
index:
|
||||
curl -L -o _build/index.yaml https://charts.coo-ops.space/index.yaml
|
||||
curl -L -o index.yaml https://charts.coo-ops.space/index.yaml
|
||||
helm repo index _build/ --url https://charts.coo-ops.space --merge index.yaml
|
||||
|
||||
ci: homebox_ci romm_ci
|
||||
|
Loading…
Reference in New Issue
Block a user