Skip to content

Commit

Permalink
Fix validation
Browse files Browse the repository at this point in the history
  • Loading branch information
hughrawlinson committed Jun 6, 2024
1 parent 3fe0ff2 commit 8640742
Showing 1 changed file with 2 additions and 25 deletions.
27 changes: 2 additions & 25 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ on:
# Allow this job to clone the repo and create a page deployment
permissions:
contents: read
pages: write
id-token: write

jobs:
build:
Expand All @@ -22,26 +20,5 @@ jobs:
uses: oven-sh/setup-bun@v1
- name: Install dependencies
run: bun install
- name: Run directory
run: ./scripts/build.sh
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Upload site artifact
uses: actions/upload-pages-artifact@v3
with:
name: github-pages
path: ./packages/tildagon-app-directory-site/dist

deploy:
needs: build
runs-on: ubuntu-latest
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
- name: Validate Hexpansions
run: ./scripts/validate_hexpansions.ts

0 comments on commit 8640742

Please sign in to comment.