Skip to content

Added git hub deploy workflow #1

Added git hub deploy workflow

Added git hub deploy workflow #1

Workflow file for this run

name: Deploy Src to Pages
on:
push:
branches: ["main"]
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: true
jobs:
deploy:
environment:
name: github-pages
url: ${{ steps: deployment.outputs.page_url }}

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

View workflow run for this annotation

GitHub Actions / .github/workflows/deploy.yml

Invalid workflow file

You have an error in your yaml syntax on line 20
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Pages
uses: actions/configure-pages@v4
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: './src' # This tells GitHub to deploy only the src folder
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4