aggs spectralpost #9
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-uw.yml | |
| on: | |
| push: | |
| branches: | |
| - master | |
| jobs: | |
| deployuw: | |
| name: deployuw | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - uses: actions/setup-node@v5 | |
| with: | |
| node-version: latest | |
| - uses: oven-sh/setup-bun@v2 | |
| with: | |
| bun-version: latest | |
| - run: bun -v | |
| - run: node -v | |
| - run: bun install | |
| - run: bun run build | |
| - run: mkdir ~/.ssh | |
| - run: ssh-keyscan granty29.vergil.u.washington.edu >> ~/.ssh/known_hosts | |
| - run: echo "${{ secrets.PUB_DEPLOY_KEY }}" > ~/.ssh/id_rsa.pub | |
| - run: echo "${{ secrets.DEPLOY_KEY }}" > ~/.ssh/id_rsa | |
| - run: chmod 600 ~/.ssh/id_rsa | |
| - run: rsync -aimPz public_html/ granty29@granty29.vergil.u.washington.edu:~/public_html/ | |
| - run: rm -rf ~/.ssh | |
| if: always() |