3 Commits

Author SHA1 Message Date
Gregor Lohaus
edf55a02c2 correct repo link
All checks were successful
Deploy / Explore-Gitea-Actions (push) Successful in 4m13s
2026-03-09 19:31:30 +01:00
Gregor Lohaus
c4dc527110 Merge branch 'workflow'
All checks were successful
Deploy / Explore-Gitea-Actions (push) Successful in 4m19s
2026-03-09 19:18:54 +01:00
Gregor Lohaus
268d234f98 deploy job 2026-03-09 19:18:38 +01:00
2 changed files with 13 additions and 9 deletions

View File

@@ -1,6 +1,9 @@
name: Gitea Actions Demo
run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀
on: [push]
name: Deploy
run-name: ${{ gitea.actor }} deployed latest version 🚀
on:
push:
branches:
- "main"
jobs:
Explore-Gitea-Actions:
@@ -28,10 +31,11 @@ jobs:
ssh-keyscan 162.55.217.172 >> ~/.ssh/known_hosts
scp ${{ gitea.workspace }}/Backend/build/native/nativeCompile/gtransfer anon@162.55.217.172:/home/anon/.local/bin/gtransfernew
ssh anon@162.55.217.172 "chmod +x /home/anon/.local/bin/gtransfernew"
ssh anon@162.55.217.172 "mv /home/anon/.local/bin/gtransfer /home/anon/.local/bin/gtransferback"
ssh anon@162.55.217.172 "mv /home/anon/.local/bin/gtransfernew /home/anon/.local/bin/gtransfer"
ssh anon@162.55.217.172 "sudo systemctl restart gtransfer"
- name: upload binary
uses: https://gitea.com/actions/gitea-upload-artifact@v4
with:
name: gtransfer
path: ${{ gitea.workspace }}/Backend/build/native/nativeCompile/gtransfer
# - name: upload binary
# uses: https://gitea.com/actions/gitea-upload-artifact@v4
# with:
# name: gtransfer
# path: ${{ gitea.workspace }}/Backend/build/native/nativeCompile/gtransfer

View File

@@ -42,7 +42,7 @@
</main>
<footer class="text-center p-4 small">
<a href="https://github.com/gregor-lohaus/gtransfer">Open source</a>
<a href="https://gitea.gregorlohaus.com/gregor/gtransfer">Open source</a>
&middot; No tracking &middot; No ads
</footer>