💚 update workflow

This commit is contained in:
Sindre Kjelsrud 2023-12-10 01:54:55 +01:00
parent 60bf675596
commit 11db8fea56

View file

@ -4,7 +4,7 @@ on:
# Trigger the workflow every time you push to the `main` branch # Trigger the workflow every time you push to the `main` branch
# Using a different branch name? Replace `main` with your branchs name # Using a different branch name? Replace `main` with your branchs name
push: push:
branches: [ main ] branches: [main]
# Allows you to run this workflow manually from the Actions tab on GitHub. # Allows you to run this workflow manually from the Actions tab on GitHub.
workflow_dispatch: workflow_dispatch:
@ -20,12 +20,12 @@ jobs:
steps: steps:
- name: Checkout your repository using git - name: Checkout your repository using git
uses: actions/checkout@v3 uses: actions/checkout@v3
- name: Install, build, and upload your site - name: Install, build, and upload your site output
uses: withastro/action@v0 uses: withastro/action@v1
# with: # with:
# path: . # The root location of your Astro project inside the repository. (optional) # path: . # The root location of your Astro project inside the repository. (optional)
# node-version: 16 # The specific version of Node that should be used to build your site. Defaults to 16. (optional) # node-version: 18 # The specific version of Node that should be used to build your site. Defaults to 18. (optional)
# package-manager: yarn # The Node package manager that should be used to install dependencies and build your site. Automatically detected based on your lockfile. (optional) # 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)
deploy: deploy:
needs: build needs: build