Skip to content

Commit

Permalink
fix: Build site in release (#561)
Browse files Browse the repository at this point in the history
The static site wasn't being built before, resulting
in a directory listing!
  • Loading branch information
kylecarbs committed Mar 25, 2022
1 parent 39e5fcf commit 8c0f403
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -77,11 +77,11 @@ provisionersdk/proto: provisionersdk/proto/provisioner.proto
./provisionersdk/proto/provisioner.proto
.PHONY: provisionersdk/proto

release:
release: site/out
goreleaser release --snapshot --rm-dist
.PHONY: release

site/out:
site/out:
./scripts/yarn_install.sh
cd site && yarn typegen
cd site && yarn build
Expand Down
1 change: 1 addition & 0 deletions examples/gcp-linux/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ resource "google_compute_instance" "dev" {
}
}
boot_disk {
auto_delete = false
source = google_compute_disk.root.name
}
service_account {
Expand Down

0 comments on commit 8c0f403

Please sign in to comment.