Skip to content

Commit

Permalink
Update deploy.yml - added artifact name
Browse files Browse the repository at this point in the history
  • Loading branch information
rkoripalli authored Feb 12, 2025
1 parent a8da728 commit b4c239d
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
name: Deploy Quartz site to GitHub Pages

on:
push:
branches:
- v4

permissions:
contents: read
pages: write
id-token: write

concurrency:
group: "pages"
cancel-in-progress: false

jobs:
build:
runs-on: ubuntu-22.04
Expand All @@ -31,8 +31,9 @@ jobs:
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: public-artifact
path: public

deploy:
needs: build
environment:
Expand All @@ -43,3 +44,7 @@ jobs:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}
timeout: 600000
artifact_name: public-artifact

0 comments on commit b4c239d

Please sign in to comment.