Skip to content

Commit

Permalink
Merge pull request #128 from datagov-cz/blcham-patch-1
Browse files Browse the repository at this point in the history
Extract AL_DEV_URL into organization variables
  • Loading branch information
bindeali authored Jun 8, 2023
2 parents 519c9f6 + ae907ce commit 50b3daa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build-and-publish.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Docker
name: Publish Docker Image

on:
push:
Expand All @@ -8,8 +8,8 @@ on:
workflow_dispatch:

env:
# TODO: Change variable to your image's name.
IMAGE_NAME: al-termit
AL_DEV_URL: ${{ vars.AL_DEV_URL }} # e.g. https://xn--slovnk-test-scb.dia.gov.cz/modelujeme

jobs:
# Push image to GitHub Packages.
Expand Down Expand Up @@ -59,4 +59,4 @@ jobs:
uses: wei/curl@v1.1.1
with:
args: |
-H \"X-Secret: ${{ secrets.AL_DEV_SECRET }}\" -X POST https://xn--slovnk-test-scb.mvcr.gov.cz/modelujeme/update/${{ env.IMAGE_NAME }}.php
-H \"X-Secret: ${{ secrets.AL_DEV_SECRET }}\" -X POST ${{ env.AL_DEV_URL }}/update/${{ env.IMAGE_NAME }}.php

0 comments on commit 50b3daa

Please # to comment.