Revert "Lägg till github deploy.yml för att kunna serva github pages till /src istället för root"
This reverts commit edaa4e142e.
This commit is contained in:
@@ -1,27 +0,0 @@
|
||||
name: Deploy to GitHub Pages
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
pages: write
|
||||
id-token: write
|
||||
|
||||
jobs:
|
||||
deploy:
|
||||
environment:
|
||||
name: github-pages
|
||||
url: ${{ steps.deployment.outputs.page_url }}
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- uses: actions/upload-pages-artifact@v3
|
||||
with:
|
||||
path: ./src # 👈 serves your /src folder directly
|
||||
|
||||
- uses: actions/deploy-pages@v4
|
||||
id: deployment
|
||||
Reference in New Issue
Block a user