You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Based on https://docs.astro.build/en/guides/deploy/github/
2
+
name: Deploy docs to GitHub Pages
3
+
4
+
on:
5
+
push:
6
+
branches: [main, master]
7
+
# Allows you to run this workflow manually from the Actions tab on GitHub.
8
+
workflow_dispatch:
9
+
10
+
# Allow this job to clone the repo and create a page deployment
11
+
permissions:
12
+
contents: read
13
+
pages: write
14
+
id-token: write
15
+
16
+
jobs:
17
+
build:
18
+
runs-on: ubuntu-latest
19
+
steps:
20
+
- name: Checkout your repository using git
21
+
uses: actions/checkout@v4
22
+
- name: Install, build, and upload your site
23
+
uses: withastro/action@v2
24
+
with:
25
+
path: docs # The root location of your Astro project inside the repository.
26
+
package-manager: pnpm@latest # The Node package manager that should be used to install dependencies and build your site. Automatically detected based on your lockfile.
0 commit comments