Skip to content

chore: update github actions #237

chore: update github actions

chore: update github actions #237

Workflow file for this run

name: Deploy
on:
push:
branches:
- 'main'
jobs:
deploy:
name: Deploy
runs-on: ubuntu-latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@20cf305ff2072d973412fa9b1e3a4f227bda3c76 # v2.14.0
with:
egress-policy: block
allowed-endpoints: >
api.github.com:443
api.netlify.com:443
api.netlifysdk.com:443
dl.deno.land:443
edge.netlify.com:443
github.com:443
registry.npmjs.org:443
release-assets.githubusercontent.com:443
- name: Checkout
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
- name: Install Tools
uses: ./.github/actions/install-tools
- name: Install Dependencies
uses: ./.github/actions/install-dependencies
- name: Deploy to Netlify
run: pnpm run docs:deploy --prod
env:
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}
shell: bash