Skip to content

Commit

Permalink
Update github workflow build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ultraviolet-jordan committed Jan 5, 2024
1 parent 9ad7de6 commit 9546dc6
Showing 1 changed file with 3 additions and 19 deletions.
22 changes: 3 additions & 19 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,23 +26,7 @@ jobs:
- name: Build TypeScript
run: npm run compile

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

# Grant GITHUB_TOKEN the permissions required to make a Pages deployment
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
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}

# Specify runner + deployment step
runs-on: ubuntu-latest
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v3
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: js

0 comments on commit 9546dc6

Please sign in to comment.