Skip to content

Commit

Permalink
clean-up
Browse files Browse the repository at this point in the history
  • Loading branch information
CianciarusoCataldo committed Jun 24, 2024
1 parent 89c2b4e commit 14e8c0d
Showing 1 changed file with 5 additions and 15 deletions.
20 changes: 5 additions & 15 deletions .github/workflows/mobrix-ui-deploy-playground.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@ name: Deploy MoBrix-ui playground app
on: workflow_dispatch

jobs:
# Build job
build:
# At a minimum this job should upload artifacts using actions/upload-pages-artifact
build-mobrix-ui-playground:
permissions:
pages: write
id-token: write
Expand All @@ -30,22 +28,14 @@ jobs:
with:
path: playground/build

# Deploy job
deploy:
# Add a dependency to the build job
needs: build

# Grant GITHUB_TOKEN the permissions required to make a Pages deployment
deploy-mobrix-ui-playground:
needs: build-mobrix-ui-playground
permissions:
pages: write # to deploy to Pages
id-token: write # to verify the deployment originates from an appropriate source

# Deploy to the github-pages environment
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}

# Specify runner + deployment step
runs-on: ubuntu-latest
steps:
- name: Deploy to GitHub Pages
Expand Down

0 comments on commit 14e8c0d

Please sign in to comment.