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
build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: pnpm/action-setup@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
The .github/workflows/deploy.yml file looks fine to me:
name: Deploy the AstroBlogTutorial to GitHub Pageson:
# Trigger the workflow every time you push to the `main` branch# Using a different branch name? Replace `main` with your branch’s namepush:
branches: [ main ]# Allows you to run this workflow manually from the Actions tab on GitHub.workflow_dispatch:
# Allow this job to clone the repo and create a page deploymentpermissions:
contents: readpages: writeid-token: writejobs:
build:
runs-on: ubuntu-lateststeps:
- name: Checkout your repository using gituses: actions/checkout@v4
- name: Install, build, and upload your siteuses: withastro/action@v2with:
node-version: 20deploy:
needs: buildruns-on: ubuntu-latestenvironment:
name: github-pagesurl: ${{ steps.deployment.outputs.page_url }}steps:
- name: Deploy to GitHub Pagesid: deploymentuses: actions/deploy-pages@v4
Is this a bug, or my error? I am new to GitHub actions...
The text was updated successfully, but these errors were encountered:
I am following the Deploy your Astro Site to GitHub Pages manual, but always get following warning:
The .github/workflows/deploy.yml file looks fine to me:
Is this a bug, or my error? I am new to GitHub actions...
The text was updated successfully, but these errors were encountered: