ci: create a deployment workflow
Some checks failed
Deploy Next.js application / deploy (push) Failing after 10m5s
Some checks failed
Deploy Next.js application / deploy (push) Failing after 10m5s
This commit is contained in:
parent
10bd5ce353
commit
1d787c6f11
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