new pipeline and build improvements
This commit is contained in:
22
.gitea/workflows/deploy.yaml
Normal file
22
.gitea/workflows/deploy.yaml
Normal file
@@ -0,0 +1,22 @@
|
||||
name: Homepage Deploy (Production)
|
||||
|
||||
on:
|
||||
workflow_dispatch: {}
|
||||
|
||||
jobs:
|
||||
deploy:
|
||||
name: Deploy Homepage
|
||||
runs-on: ubuntu-amd64
|
||||
needs: build
|
||||
steps:
|
||||
- name: Check out repository
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Recreate Container
|
||||
uses: https://git.ivanch.me/ivanch/pipeline-actions/ssh-deploy@main
|
||||
with:
|
||||
ssh_host: ${{ secrets.HOST }}
|
||||
ssh_username: ${{ secrets.USERNAME }}
|
||||
ssh_key: ${{ secrets.KEY }}
|
||||
ssh_port: ${{ secrets.PORT }}
|
||||
remote_dir: ${{ secrets.DIR }}
|
||||
Reference in New Issue
Block a user