Skip to content

chore(deps): bump maplibre-gl from 4.5.2 to 4.6.0 #217

chore(deps): bump maplibre-gl from 4.5.2 to 4.6.0

chore(deps): bump maplibre-gl from 4.5.2 to 4.6.0 #217

name: Deploy Production
on:
push:
branches:
- main
concurrency:
group: ${{ github.ref }}
cancel-in-progress: true
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/build
lighthouse:
name: Lighthouse CI
needs: build
runs-on: ubuntu-latest
continue-on-error: true
steps:
- uses: actions/checkout@v4
- uses: actions/download-artifact@v4
with:
name: build
path: _site
- uses: ./.github/actions/lighthouse
with:
LHCI_GITHUB_APP_TOKEN: ${{ secrets.LHCI_GITHUB_APP_TOKEN }}
validate-html:
name: Validate HTML
needs: build
runs-on: ubuntu-latest
continue-on-error: true
steps:
- uses: actions/checkout@v4
- uses: actions/download-artifact@v4
with:
name: build
path: _site
- uses: ./.github/actions/validate-html
deploy:
name: Deploy
needs:
- lighthouse
- validate-html
environment:
name: production
url: https://www.kilianfinger.com
runs-on: ubuntu-latest
steps:
- uses: actions/download-artifact@v4
with:
name: build
- uses: easingthemes/ssh-deploy@v5.1.1
env:
SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}
ARGS: '-avh --delete'
REMOTE_HOST: ${{ secrets.REMOTE_HOST }}
REMOTE_USER: ${{ secrets.REMOTE_USER }}
TARGET: ${{ secrets.REMOTE_TARGET }}