Skip to content

Commit

Permalink
Update deploy.yml - try pages-deploy-action@v1
Browse files Browse the repository at this point in the history
  • Loading branch information
rkoripalli authored Feb 12, 2025
1 parent a7f348e commit b0c25e6
Showing 1 changed file with 3 additions and 18 deletions.
21 changes: 3 additions & 18 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ concurrency:
cancel-in-progress: false

jobs:
build:
build-and-deploy:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
Expand All @@ -28,22 +28,7 @@ jobs:
run: npm ci --legacy-peer-deps
- name: Build Quartz
run: npx quartz build
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: public-artifact
path: public

deploy:
needs: build
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2
uses: github/pages-deploy-action@v1
with:
timeout: 600000
artifact_name: public-artifact
build_dir: public

0 comments on commit b0c25e6

Please sign in to comment.