ITR-Website/.gitea/workflows/update-website.yaml
Workflow config file is invalid. Please check your config file: yaml: unmarshal errors: line 1: cannot unmarshal !!seq into model.Workflow
2023-08-29 21:01:26 +00:00

12 lines
279 B
YAML

- 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