This commit is contained in:
parent
d89f4731e9
commit
f469ed2d5e
24
.forgejo/workflows/deploy.yml
Normal file
24
.forgejo/workflows/deploy.yml
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
name: Deploy AstraOS Panel
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: ["main"]
|
||||
|
||||
jobs:
|
||||
deploy:
|
||||
runs-on: docker
|
||||
|
||||
steps:
|
||||
- name: Checkout repo
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Deploy AstraOS folder
|
||||
uses: appleboy/scp-action@v0.1.7
|
||||
with:
|
||||
host: 127.0.0.1
|
||||
username: astraos
|
||||
key: ${{ secrets.DEPLOY_KEY }}
|
||||
port: 22
|
||||
source: "AstraOS/*"
|
||||
target: "/home/astraos/Astra-OS-Panel"
|
||||
overwrite: true
|
||||
Loading…
Reference in a new issue