Skip to content

Commit

Permalink
Fixes workflow with using $ for interpreting escape sequences
Browse files Browse the repository at this point in the history
* Also fixes task name
  • Loading branch information
cr2007 committed Aug 3, 2024
1 parent 7c5a16f commit 4c9a4ed
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,12 @@ jobs:
if: startsWith(github.ref, 'refs/tags/')
with:
files: Chandrashekhar_Resume.pdf
- name: Notify if package was published successfully
- name: Notify if CV was compiled successfully
if: success()
env:
TAG_NAME: ${{ github.ref_name }}
run: |
curl \
-H $"Title: CV ${{ github.ref_name }} published successfully" \
-H "X-Tags: memo, CV, version-update, updated-link" \
-H "Content-Type: text/plain" \
-d "CV ${{ github.ref_name }} published successfully.\nYou can find the updated CV at https://github.com/cr2007/CV/releases/latest/download/Chandrashekhar_Resume.pdf\nStatus: ${{job.status}}" \
-d $"CV ${{ github.ref_name }} published successfully.\nYou can find the updated CV at https://github.com/cr2007/CV/releases/latest/download/Chandrashekhar_Resume.pdf\nStatus: ${{job.status}}" \
${{ vars.NTFY_GACTIONS_URL }}

0 comments on commit 4c9a4ed

Please sign in to comment.