Bump get-func-name from 2.0.0 to 2.0.2 #401
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Update imba.io | |
on: [push] | |
jobs: | |
deploy: | |
name: Deploy to imba.io | |
if: github.ref == 'refs/heads/master' | |
runs-on: ubuntu-latest | |
steps: | |
- name: Connect to the host and run commands | |
uses: appleboy/ssh-action@master | |
with: | |
host: ${{ secrets.HOST }} | |
username: ${{ secrets.USERNAME }} | |
key: ${{ secrets.KEY }} | |
port: ${{ secrets.PORT }} | |
script: | | |
git -C /home/imba/imba.io stash | |
git -C /home/imba/imba.io pull origin master | |
cd /home/imba/imba.io && npm install | |
cd /home/imba/imba.io && npm run build-content | |
cd /home/imba/imba.io && npm run build-api-docs | |
cd /home/imba/imba.io && npm run build-site |