Skip to content

Remove axios dependency #22

Remove axios dependency

Remove axios dependency #22

Workflow file for this run

name: Deploy to NFSN
on:
push:
branches:
- main
jobs:
main:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: "npm"
- run: npm install
- run: |
npm run build
rm -r build/api/posts build/api/posts.json
- name: rsync deployments
uses: burnett01/[email protected]
with:
switches: -rptcivh --delete-after --stats
path: build/
remote_path: /home/public/
remote_host: ${{ secrets.DEPLOY_HOST }}
remote_user: ${{ secrets.DEPLOY_USER }}
remote_key: ${{ secrets.DEPLOY_KEY }}