feat: add experimental JS, add proepr alt text to each image #31
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: "Deploy" | |
on: | |
push: | |
branches: [main] | |
jobs: | |
build-and-deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Setup Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: "22.9.0" | |
cache: "npm" | |
cache-dependency-path: "package-lock.json" | |
- name: Install dependencies | |
run: npm ci | |
- name: Build site | |
run: npm run build | |
- name: Deploy | |
uses: burnett01/[email protected] | |
with: | |
switches: "-avrh --delete" | |
path: "dist/" | |
remote_path: "/" | |
remote_host: "${{ secrets.SSH_HOST }}" | |
remote_user: "${{ secrets.SSH_USERNAME }}" | |
remote_key: "${{ secrets.SSH_PRIVATE_KEY }}" |