Skip to content

Get rid of unsafe-inline in styles CSP #29

Get rid of unsafe-inline in styles CSP

Get rid of unsafe-inline in styles CSP #29

Workflow file for this run

name: Deploy to GitHub pages
on:
push:
branches: [master]
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '20'
- name: Install dependencies
run: npm run deps:ci
- name: Build site
run: >-
export NODE_ENV=prod;
export YOUTUBE_API_KEY=${{ secrets.YOUTUBE_API_KEY }};
npm run build
- name: Publish content to GitHub Pages
uses: andre487/publish-to-orphan-gh-pages@v1.2.4
with:
deploy_private_key: ${{ secrets.GH_PAGES_DEPLOY_PRIVATE_KEY }}