Github Actions file_server with headers
Hello, I have my portfolio deployed in deno deploy (developed in Angular and I use Github Actions for the bundle and deploy), and I was interested in adding the header to my deploy.yml of my github actions
Cache-Control: max-age=336000
locally I can use
deno run -A https://deno.land/std@0.217.0/http/file_server.ts -H "Cache-Control: max-age=336000"
but in a github action I can't use
- name: Upload to Deno Deploy
uses: denoland/deployctl@v1
with:
project: "ricardorobles"
entrypoint: "https://deno.land/std@0.217.0/http/file_server.ts -H 'Cache-Control: max-age=2592000'"
Does anyone know how I can add that header?
Cache-Control: max-age=336000
locally I can use
deno run -A https://deno.land/std@0.217.0/http/file_server.ts -H "Cache-Control: max-age=336000"
but in a github action I can't use
- name: Upload to Deno Deploy
uses: denoland/deployctl@v1
with:
project: "ricardorobles"
entrypoint: "https://deno.land/std@0.217.0/http/file_server.ts -H 'Cache-Control: max-age=2592000'"
Does anyone know how I can add that header?
