Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
edf55a02c2 | ||
|
|
c4dc527110 | ||
|
|
268d234f98 |
@@ -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
|
||||
@@ -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>
|
||||
· No tracking · No ads
|
||||
</footer>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user