Skip to content

feat:add astro config for deploy with custom domain #2

feat:add astro config for deploy with custom domain

feat:add astro config for deploy with custom domain #2

Workflow file for this run

name: Deploy to GitHub Pages
on:
push:
branches: [ main ]
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@v1
with:

Check failure on line 20 in .github/workflows/deploy_astro.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/deploy_astro.yml

Invalid workflow file

You have an error in your yaml syntax on line 20
path: .
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