Skip to content

Commit

Permalink
Update createWebNews.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
StrahinjaJacimovic authored Oct 25, 2024
1 parent 4f18331 commit dfad724
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/createWebNews.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,27 +58,27 @@ jobs:
env:
MIKROE_BETA_URL: ${{ secrets.MIKROE_BETA_URL }}
run: |
MESSAGE=$(cat message.txt | jq -Rs .)
MESSAGE=$(cat message.txt)
curl --location "$MIKROE_BETA_URL" \
--header 'Content-Type: application/x-www-form-urlencoded' \
--header 'Cookie: PHPSESSID=bdu5qnabbu4bpucutoqa4dea95; PrestaShop-c70d81b27989da2e05775a7416c2a451=7LlCRwFwicyVSo9CGkRIGxvgnGHSZknmUUGAf4FagfDu1ZAio%2B%2Fm0fGU6AWzPnSalLDnm99ipnraikuHQ6qumZwMervfogxNSuEvoN%2BXqM8o6osXcG%2FwXztgwd1U4C4LVMKjv9sDymWMFO%2FOKCvzsu5tK28MUdAF%2FP77lxnnZDNOLTj8MniASlaesF%2FyxiE6RqmLq%2FVc9H4oCwQWccZH2XvbTHOeBYynAx6x%2B%2BJJDf7ODMWvOuyjrkmLvbNPZ5sO000185' \
--data-urlencode "title=Release for $(date +"%a %b %d")" \
--data-urlencode 'description=Test Description' \
--data-urlencode 'category=SW daily release' \
--data-urlencode "date=$(date +"%Y-%m-%d %H:%M:%S")" \
--data-urlencode "$MESSAGE"
--data-urlencode "body=$MESSAGE"
- name: Post message on Official Website
if: ${{ github.event.inputs.select_web == 'Official' }}
env:
MIKROE_OFFICIAL_URL: ${{ secrets.MIKROE_OFFICIAL_URL }}
run: |
MESSAGE=$(cat message.txt | jq -Rs .)
MESSAGE=$(cat message.txt)
curl --location $MIKROE_OFFICIAL_URL \
--header 'Content-Type: application/x-www-form-urlencoded' \
--header 'Cookie: PHPSESSID=bdu5qnabbu4bpucutoqa4dea95; PrestaShop-c70d81b27989da2e05775a7416c2a451=7LlCRwFwicyVSo9CGkRIGxvgnGHSZknmUUGAf4FagfDu1ZAio%2B%2Fm0fGU6AWzPnSalLDnm99ipnraikuHQ6qumZwMervfogxNSuEvoN%2BXqM8o6osXcG%2FwXztgwd1U4C4LVMKjv9sDymWMFO%2FOKCvzsu5tK28MUdAF%2FP77lxnnZDNOLTj8MniASlaesF%2FyxiE6RqmLq%2FVc9H4oCwQWccZH2XvbTHOeBYynAx6x%2B%2BJJDf7ODMWvOuyjrkmLvbNPZ5sO000185' \
--data-urlencode "title=Release for $(date +"%a %b %d")" \
--data-urlencode 'description=Test Description' \
--data-urlencode 'category=SW daily release' \
--data-urlencode "date=$(date +"%Y-%m-%d %H:%M:%S")" \
--data-urlencode $MESSAGE
--data-urlencode "body=$MESSAGE"

0 comments on commit dfad724

Please sign in to comment.