remove pckage-lock.json #81
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "IceniaGov Site Build" | |
on: | |
push: | |
branches: | |
- "master" | |
workflow_dispatch: {} | |
permissions: | |
contents: write | |
jobs: | |
release: | |
runs-on: "ubuntu-latest" | |
steps: | |
- uses: "actions/checkout@v4" | |
- name: Setup bun.sh | |
uses: oven-sh/setup-bun@v1 | |
- name: Installing dependencies | |
run: bun install | |
- name: Build site | |
run: bun run build | |
- name: Deploy to GitHub Pages | |
if: success() | |
uses: crazy-max/ghaction-github-pages@v3 | |
with: | |
target_branch: gh-pages | |
build_dir: dist | |
env: | |
# This should be automatically created by Github | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |