Add Knowledge as Code pattern page and research document #61
This file contains hidden or 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: Deploy to SnapSynapse | |
| on: | |
| push: | |
| branches: [main] | |
| schedule: | |
| - cron: '0 1 * * 1,4' # 6pm Pacific (Mon & Thu) | |
| workflow_dispatch: | |
| jobs: | |
| deploy: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: '20' | |
| - name: Build dashboard | |
| run: node scripts/build.js | |
| - name: Deploy via FTP | |
| uses: SamKirkland/FTP-Deploy-Action@v4.3.5 | |
| with: | |
| server: ${{ secrets.FTP_HOST }} | |
| username: ${{ secrets.FTP_USER }} | |
| password: ${{ secrets.FTP_PASS }} | |
| local-dir: ./docs/ | |
| server-dir: / |