feat: add artist hover parallax effect and new Location component #18
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 Shared Hosting | |
| on: | |
| push: | |
| branches: [ main ] | |
| jobs: | |
| build-and-deploy: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: '22' | |
| cache: 'npm' | |
| - name: Install Dependencies | |
| run: npm ci | |
| - name: Build | |
| run: npm run build | |
| - name: Deploy to Server | |
| uses: easingthemes/ssh-deploy@v5.0.0 | |
| env: | |
| SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }} | |
| ARGS: "-rlptDz" # Recursive, links, perms, times, devices, compress (No owner/group preservation for shared hosting compatibility) | |
| SOURCE: "dist/" | |
| REMOTE_HOST: ${{ secrets.SSH_HOST }} | |
| REMOTE_USER: ${{ secrets.SSH_USER }} | |
| TARGET: ${{ secrets.DEPLOY_PATH }} | |
| EXCLUDE: "/node_modules/" |