ci: create a deployment workflow
Some checks failed
Deploy Next.js application / deploy (push) Failing after 21m5s
Some checks failed
Deploy Next.js application / deploy (push) Failing after 21m5s
This commit is contained in:
parent
fb3bf47dae
commit
08eb13e2b4
1 changed files with 13 additions and 0 deletions
13
.forgejo/workflows/deploy.yaml
Normal file
13
.forgejo/workflows/deploy.yaml
Normal file
|
@ -0,0 +1,13 @@
|
|||
name: Deploy Next.js application
|
||||
on: [push]
|
||||
jobs:
|
||||
deploy:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Deploy Next.js application
|
||||
uses: https://github.com/appleboy/ssh-action@v1.0.3
|
||||
with:
|
||||
host: ${{ secrets.HOST }}
|
||||
username: ${{ secrets.USERNAME }}
|
||||
password: ${{ secrets.PASSWORD }}
|
||||
script: deploy-next-app
|
Loading…
Reference in a new issue