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
# Trigger the workflow every time you push to the `main` branch
5
+
# Using a different branch name? Replace `main` with your branch’s name
6
+
push:
7
+
branches: [main]
8
+
# Allows you to run this workflow manually from the Actions tab on GitHub.
9
+
workflow_dispatch:
10
+
11
+
# Prevent multiple deployments from running simultaneously
12
+
concurrency:
13
+
group: deploy-${{ github.ref }}
14
+
cancel-in-progress: true
15
+
16
+
# Allow this job to clone the repo and create a page deployment
17
+
permissions:
18
+
contents: read
19
+
pages: write
20
+
id-token: write
21
+
22
+
jobs:
23
+
build:
24
+
runs-on: ubuntu-latest
25
+
steps:
26
+
- name: Checkout your repository using git
27
+
uses: actions/checkout@v6
28
+
- name: Install, build, and upload your site
29
+
uses: withastro/action@v5
30
+
with:
31
+
# path: . # The root location of your Astro project inside the repository. (optional)
32
+
# node-version: 20 # The specific version of Node that should be used to build your site. Defaults to 20. (optional)
33
+
package-manager: bun@latest # The Node package manager that should be used to install dependencies and build your site. Automatically detected based on your lockfile. (optional)
0 commit comments