mirror of
https://github.com/maputnik/editor.git
synced 2026-02-10 06:30:00 +00:00
revert deploy
This commit is contained in:
38
.github/workflows/deploy.yml
vendored
38
.github/workflows/deploy.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user