From b2c530d8f81b79f097c98a7190e6e2068b5564cd Mon Sep 17 00:00:00 2001 From: Diego Calvo Castillo Date: Mon, 2 Dec 2024 12:20:06 +0100 Subject: [PATCH] add netlify headers --- .github/workflows/main.yml | 4 +++- _headers | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 _headers diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 5cc2000..323640c 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -4,7 +4,9 @@ name: Build and deploy GH Pages jobs: build: runs-on: ubuntu-latest - if: github.ref == 'refs/heads/main' + # Skip the workflow + # if: github.ref == 'refs/heads/main' + if: false steps: - name: checkout uses: actions/checkout@v3.0.0 diff --git a/_headers b/_headers new file mode 100644 index 0000000..38ba1dc --- /dev/null +++ b/_headers @@ -0,0 +1,2 @@ +/bundle.css + Cache-Control: max-age=86400, immutable \ No newline at end of file