revert deploy

This commit is contained in:
Oliver Wipfli
2025-01-04 19:49:05 +01:00
parent 82105d20b4
commit c9a055a931

View File

@@ -2,7 +2,7 @@ name: deploy
on:
push:
branches: [ globe ]
branches: [ main ]
jobs:
deploy-pages:
@@ -29,25 +29,23 @@ jobs:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: dist
# publish docker to GitHub registry
deploy-docker:
name: deploy/docker
runs-on: ubuntu-latest
if: ${{ github.event_name == 'push' }}
# # publish docker to GitHub registry
# deploy-docker:
# name: deploy/docker
# runs-on: ubuntu-latest
strategy:
fail-fast: false
# if: ${{ github.event_name == 'push' }}
# strategy:
# fail-fast: false
# steps:
# - name: Login to GitHub Container Registry
# uses: docker/login-action@v3
# with:
# registry: ghcr.io
# username: ${{ github.actor }}
# password: ${{ secrets.GITHUB_TOKEN }}
# - uses: actions/checkout@v4
# - run: docker build -t ghcr.io/maplibre/maputnik:main .
# - run: docker push ghcr.io/maplibre/maputnik:main
steps:
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/checkout@v4
- run: docker build -t ghcr.io/maplibre/maputnik:main .
- run: docker push ghcr.io/maplibre/maputnik:main