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
11
+
# Using a different branch name? Replace `main` with your branch’s name
12
+
push:
13
+
branches: [ main ]
14
+
# Allows you to run this workflow manually from the Actions tab on GitHub.
15
+
workflow_dispatch:
16
+
17
+
# Allow this job to clone the repo and create a page deployment
18
+
permissions:
19
+
contents: read
20
+
pages: write
21
+
id-token: write
22
+
23
+
jobs:
24
+
build:
25
+
runs-on: ubuntu-latest
26
+
steps:
27
+
- name: Checkout your repository using git
28
+
uses: actions/checkout@v4
29
+
- name: Write cv.json from input
30
+
run: echo '${{ inputs.cv-json }}' > src/cv.json
31
+
- name: Install, build, and upload your site
32
+
uses: withastro/action@v3
33
+
# with:
34
+
# path: . # The root location of your Astro project inside the repository. (optional)
35
+
# node-version: 20 # The specific version of Node that should be used to build your site. Defaults to 20. (optional)
36
+
# 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. (optional)
0 commit comments