-
-
Notifications
You must be signed in to change notification settings - Fork 0
28 lines (25 loc) · 1.42 KB
/
Copy pathdeploy.yml
File metadata and controls
28 lines (25 loc) · 1.42 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# ──────────────────────────────────────────────────────────────────────────────
# Deploy to Netlify
#
# Builds the Docusaurus site and deploys it to Netlify on every push to main.
#
# SETUP (one-time):
# 1. In your Netlify dashboard, create a new site linked to this repo OR
# get the Site ID from Site Settings → General → Site details.
# 2. Create a Netlify personal access token at:
# https://app.netlify.com/user/applications#personal-access-tokens
# 3. Add both as repository secrets in this repo
# (Settings → Secrets and variables → Actions → New repository secret):
# - NETLIFY_AUTH_TOKEN ← your personal access token
# - NETLIFY_SITE_ID ← the site ID (e.g. xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx)
# ──────────────────────────────────────────────────────────────────────────────
# Deploy is handled natively by Netlify on every push to main.
# This workflow file is kept only as documentation.
name: Deploy to Netlify
on:
workflow_dispatch:
jobs:
noop:
runs-on: ubuntu-latest
steps:
- run: echo "Netlify handles build and deploy automatically on push to main."