Skip to content

Commit

Permalink
Revert PR preview changes
Browse files Browse the repository at this point in the history
  • Loading branch information
fwextensions committed Nov 30, 2024
1 parent a8ef806 commit 31f3695
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 32 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
name: Deploy to GitHub Pages

on:
# Runs on pushes targeting the default branch
# Runs on pushes and PRs targeting the default branch
push:
branches: ["main"]
pull_request:
branches: ["main"]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
Expand Down Expand Up @@ -58,6 +60,7 @@ jobs:
node-version: "20"
cache: ${{ steps.detect-package-manager.outputs.manager }}
cache-dependency-path: ${{ env.BUILD_PATH }}/${{ steps.detect-package-manager.outputs.lockfile }}

- name: Setup Pages
id: pages
uses: actions/configure-pages@v5
Expand All @@ -79,14 +82,14 @@ jobs:
path: ${{ env.BUILD_PATH }}/dist

deploy:
name: Deploy
# Only deploy from the main branch, or when manually triggered
if: github.ref == 'refs/heads/main' || github.event_name == 'workflow_dispatch'
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
needs: build
runs-on: ubuntu-latest
name: Deploy
steps:
- name: Deploy to GitHub Pages
id: deployment
Expand Down
30 changes: 0 additions & 30 deletions .github/workflows/preview.yml

This file was deleted.

0 comments on commit 31f3695

Please sign in to comment.