feat: do not update data at if it fails to fetch it when booting #280
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: | |
caprover: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- run: | | |
echo ${{ secrets.GHCR_TOKEN }} | docker login ghcr.io -u gleich --password-stdin | |
docker build -t ghcr.io/gleich/lcp-v2 . | |
docker push ghcr.io/gleich/lcp-v2 | |
- uses: caprover/deploy-from-github@v1.1.2 | |
with: | |
server: https://dev.mattglei.ch | |
app: lcp | |
token: '${{ secrets.CAPROVER_APP_TOKEN }}' | |
image: ghcr.io/gleich/lcp-v2 |