mirror of
https://github.com/miaowware/qrm2.git
synced 2025-05-24 02:12:31 -04:00
parent
27863ae6bf
commit
ff9d46f379
30
.github/workflows/docker.yml
vendored
30
.github/workflows/docker.yml
vendored
@ -57,20 +57,16 @@ jobs:
|
||||
- name: Push images to registry
|
||||
run: docker push ${{ steps.tag_image.outputs.image_id }}
|
||||
|
||||
# deploy:
|
||||
# name: Deploy new images
|
||||
# runs-on: ubuntu-20.04
|
||||
# needs: docker
|
||||
# steps:
|
||||
# - name: Deploy official images
|
||||
# id: deploy_images
|
||||
# uses: satak/webrequest-action@v1.2.3
|
||||
# with:
|
||||
# url: ${{ secrets.DEPLOY_URL }}
|
||||
# method: POST
|
||||
# headers: '{"Authentication": "Token ${{ secrets.DEPLOY_TOKEN }}"}'
|
||||
# payload: |
|
||||
# '{
|
||||
# "repository": "${{ github.repository }}",
|
||||
# "version": "${{ jobs.docker.steps.tag_image.outputs.version }}"
|
||||
# }'
|
||||
deploy:
|
||||
name: Deploy new images
|
||||
runs-on: ubuntu-20.04
|
||||
needs: docker
|
||||
steps:
|
||||
- name: Deploy official images
|
||||
id: deploy_images
|
||||
uses: satak/webrequest-action@v1
|
||||
with:
|
||||
url: ${{ secrets.DEPLOY_URL }}
|
||||
method: POST
|
||||
headers: '{"Authentication": "Token ${{ secrets.DEPLOY_TOKEN }}"}'
|
||||
payload: '{"version": "${{ jobs.docker.steps.tag_image.outputs.version }}"}'
|
||||
|
Loading…
x
Reference in New Issue
Block a user