fix: browse layout for oldest item; notes section of recipe include #334
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: Push Deploy | |
on: | |
push: | |
branches: | |
- main | |
concurrency: | |
group: deploy | |
cancel-in-progress: true | |
jobs: | |
build: | |
name: Push Deploy | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup | |
uses: ./.github/actions/setup | |
- name: Install | |
uses: ./.github/actions/install | |
- name: Test | |
uses: ./.github/actions/test | |
- name: Build | |
uses: ./.github/actions/build | |
env: | |
NODE_OPTIONS: "--max_old_space_size=8192" | |
LASTFM_API_TOKEN: ${{ secrets.LASTFM_API_TOKEN }} | |
MUSICTHREAD_API_KEY: ${{ secrets.MUSICTHREAD_API_KEY }} | |
PERSONAL_API_KEY: ${{ secrets.PERSONAL_API_KEY }} | |
TMDB_API_KEY: ${{ secrets.TMDB_API_KEY }} | |
TRAKT_CLIENT_ID: ${{ secrets.TRAKT_CLIENT_ID }} | |
VIGENERE_SECRET: ${{ secrets.VIGENERE_SECRET }} | |
WEBMENTION_IO_TOKEN: ${{ secrets.WEBMENTION_IO_TOKEN }} | |
- name: Check Build | |
uses: ./.github/actions/check | |
- name: Copy files to server | |
uses: appleboy/scp-action@master | |
with: | |
host: ${{ secrets.DEPLOY_HOST }} | |
port: ${{ secrets.DEPLOY_PORT }} | |
username: ${{ secrets.DEPLOY_USERNAME }} | |
key: ${{ secrets.DEPLOY_KEY }} | |
rm: true | |
source: "_site/*" | |
target: "${{ secrets.DEPLOY_PATH }}build" | |
strip_components: 1 | |
- name: Process on server | |
uses: appleboy/ssh-action@master | |
with: | |
host: ${{ secrets.DEPLOY_HOST }} | |
port: ${{ secrets.DEPLOY_PORT }} | |
username: ${{ secrets.DEPLOY_USERNAME }} | |
key: ${{ secrets.DEPLOY_KEY }} | |
script: "${{ secrets.DEPLOY_PATH }}${{ secrets.DEPLOY_FILE }}" |