Skip to content

Commit

Permalink
Merge branch 'main' into minikin-patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
minikin authored Nov 19, 2024
2 parents e3629d9 + 06874ff commit 79a4385
Showing 1 changed file with 23 additions and 1 deletion.
24 changes: 23 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:

- name: Upload PR preview artifact
if: github.event_name == 'pull_request'
uses: actions/upload-pages-artifact@v3
uses: actions/upload-artifact@v3
with:
path: build
name: pr-preview-build
Expand Down Expand Up @@ -86,12 +86,34 @@ jobs:
if: github.event_name == 'pull_request'
runs-on: ubuntu-latest

permissions:
pages: write
id-token: write
pull-requests: write
deployments: write
statuses: write
contents: read

concurrency:
group: "pages-pr-${{ github.event.pull_request.number }}"
cancel-in-progress: true

environment:
name: preview
url: ${{ steps.deployment.outputs.preview_url }}

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Download PR preview artifact
uses: actions/download-artifact@v3
with:
name: pr-preview-build
path: build

- name: Deploy preview
uses: rossjrw/pr-preview-action@v1
with:
dir: ./build/
action: auto

0 comments on commit 79a4385

Please sign in to comment.