diff --git a/.gitea/workflows/update-website.yaml b/.gitea/workflows/update-website.yaml new file mode 100644 index 0000000..0921fdf --- /dev/null +++ b/.gitea/workflows/update-website.yaml @@ -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