Skip to content

Commit

Permalink
debugging sam build
Browse files Browse the repository at this point in the history
  • Loading branch information
kaihendry committed Nov 28, 2023
1 parent 1460e76 commit 8ab6fa4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ deploy:
sam deploy --no-progressbar --resolve-s3 --stack-name $(STACK) --parameter-overrides DomainName=$(DOMAINNAME) ACMCertificateArn=$(ACMCERTIFICATEARN) --no-confirm-changeset --no-fail-on-empty-changeset --capabilities CAPABILITY_IAM --disable-rollback

build-MainFunction:
find
pwd
CGO_ENABLED=0 GOOS=linux GOARCH=arm64 go build -o ${ARTIFACTS_DIR}/bootstrap

validate:
Expand Down
7 changes: 4 additions & 3 deletions templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<link rel="icon" href="data:,">

<style>
body {
body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
background-color: #f4f4f4;
margin: 0;
Expand All @@ -32,7 +32,8 @@

p strong {
font-weight: bold;
color: #d35400; /* A distinct color for the current day */
color: #d35400;
/* A distinct color for the current day */
}

form {
Expand Down Expand Up @@ -73,7 +74,7 @@ <h2>Week Number: {{ $currentWeek }}</h2> <!-- Print the week number if it's diff
{{ if eq ($day.Format "2006-01-02") ($.Now.Format "2006-01-02") }}
<p><strong>{{ $day.Format "2006-01-02 Mon" }}</strong></p>
{{ else }}
<p>{{ $day.Format "2006-01-02 Mon" }}</p>
<p>{{- $day.Format "2006-01-02 Mon" }}</p>
{{ end }}
{{end}}

Expand Down

0 comments on commit 8ab6fa4

Please sign in to comment.