Fix sort info badge height and remove shadow in PreviewScreen #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 to torbjorn.no | |
| on: | |
| push: | |
| branches: [main] | |
| jobs: | |
| build-and-deploy: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 20 | |
| cache: npm | |
| - run: npm ci | |
| - run: npm run build | |
| - name: Checkout Hugo repo | |
| uses: actions/checkout@v4 | |
| with: | |
| repository: torbjornbp/torbjornbp.github.io | |
| token: ${{ secrets.HUGO_REPO_TOKEN }} | |
| path: hugo-site | |
| - name: Copy build output | |
| run: | | |
| rm -rf hugo-site/static/discogs-labeler | |
| mkdir -p hugo-site/static/discogs-labeler | |
| cp -r dist/. hugo-site/static/discogs-labeler/ | |
| - name: Commit and push | |
| working-directory: hugo-site | |
| run: | | |
| git config user.name "github-actions[bot]" | |
| git config user.email "github-actions[bot]@users.noreply.github.com" | |
| git add static/discogs-labeler | |
| git diff --cached --quiet || git commit -m "chore: update discogs-labeler build" | |
| git push |