@crystal cargo I got github actions to run it, but the pipeline failed. This is the error that i got:
Run withastro/action@v0
Run len=`echo $INPUT_PM | wc -c`
Run actions/setup-node@v3
Attempting to download 20.5.0...
Acquiring 20.5.0 - x64 from https://github.com/actions/node-versions/releases/download/20.5.0-5619267642/node-20.5.0-linux-x64.tar.gz
Extracting ...
/usr/bin/tar xz --strip 1 --warning=no-unknown-keyword -C /home/runner/work/_temp/dc886272-ec2b-430b-b303-fd97b69b4ef8 -f /home/runner/work/_temp/56d7b817-1192-46c8-9fcb-bc45e5db0f84
Adding to the cache ...
Environment details
/opt/hostedtoolcache/node/20.5.0/x64/bin/npm config get cache
/home/runner/.npm
Error: Some specified paths were not resolved, unable to cache dependencies.
This is my deploy.yml file:
name: Deploy to GitHub Pages
on:
push:
branches: [main]
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout your repository using git
uses: actions/checkout@v3
- name: Install, build, and upload your site
uses: withastro/action@v0
with:
node-version: 20.5.0
deploy:
needs: build
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1
Any idea on why it didnt work?