Initial gitea workflow
This commit is contained in:
parent
1285f861ed
commit
50dd1ee56d
11
.gitea/workflows/update-website.yaml
Normal file
11
.gitea/workflows/update-website.yaml
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
- name: Build and deploy the website
|
||||||
|
uses: nekiro/ssh-job@main
|
||||||
|
with:
|
||||||
|
host: ${{ secrets.HOST }}
|
||||||
|
password: ${{ secrets.PASSWORD }}
|
||||||
|
user: ${{ secrets.USER }}
|
||||||
|
command: |
|
||||||
|
cd /var/www/ITR-Website
|
||||||
|
git pull
|
||||||
|
npm run build
|
||||||
|
service nginx restart
|
Loading…
x
Reference in New Issue
Block a user