fix(ci): remove possible command injection in netlify deployment

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
This commit is contained in:
Tilman Vatteroth 2023-07-03 11:26:11 +02:00
parent 178e054938
commit 4e1078ca3a

View file

@ -62,4 +62,4 @@ jobs:
- name: Run netlify CLI deployment - name: Run netlify CLI deployment
env: env:
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }} NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
run: "netlify deploy --build --prod --message \"${{ github.event.head_commit.id }}: ${{ github.event.head_commit.message }}\"" run: "netlify deploy --build --prod --message \"${{ github.event.head_commit.id }}\""