💚 update workflow
This commit is contained in:
parent
60bf675596
commit
11db8fea56
1 changed files with 5 additions and 5 deletions
10
.github/workflows/deploy.yml
vendored
10
.github/workflows/deploy.yml
vendored
|
@ -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 branch’s name
|
# Using a different branch name? Replace `main` with your branch’s 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
|
||||||
|
|
Loading…
Reference in a new issue