23 lines
561 B
YAML
23 lines
561 B
YAML
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 }}
|