Other test
This commit is contained in:
parent
76fa4bd703
commit
97e9d99ae4
1 changed files with 8 additions and 8 deletions
16
.github/workflows/main.yml
vendored
16
.github/workflows/main.yml
vendored
|
@ -18,13 +18,6 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: HTTP Request Action
|
|
||||||
uses: fjogeleit/http-request-action@v1.14.1
|
|
||||||
with:
|
|
||||||
url: ${{ env.PORTAINER_API_WEBHOOK }}
|
|
||||||
method: 'POST'
|
|
||||||
customHeaders: ${{ env.PORTAINER_API_KEY }}
|
|
||||||
|
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
|
@ -52,4 +45,11 @@ jobs:
|
||||||
push: true
|
push: true
|
||||||
tags: |
|
tags: |
|
||||||
${{ env.DOCKER_REGISTRY }}/obsessed-yanqing:latest
|
${{ env.DOCKER_REGISTRY }}/obsessed-yanqing:latest
|
||||||
${{ env.DOCKER_REGISTRY }}/obsessed-yanqing:${{ env.VERSION }}
|
${{ env.DOCKER_REGISTRY }}/obsessed-yanqing:${{ env.VERSION }}
|
||||||
|
|
||||||
|
- name: Deploy to production
|
||||||
|
uses: fjogeleit/http-request-action@v1.14.1
|
||||||
|
with:
|
||||||
|
url: ${{ env.PORTAINER_API_WEBHOOK }}
|
||||||
|
method: 'POST'
|
||||||
|
customHeaders: ${{ env.PORTAINER_API_KEY }}
|
Loading…
Reference in a new issue