Skip to content

Commit

Permalink
Install sed
Browse files Browse the repository at this point in the history
  • Loading branch information
cp-dharti-r committed Apr 22, 2024
1 parent 9725b4b commit 93bd5aa
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy-backend-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ jobs:

- name: Build backend and copy zip to S3
run: |
apt-get update && apt-get install -y zip sed
sed -i "s#RECAPTCHA_CONFIG_JSON_BASE64#${{ secrets.RECAPTCHA_CONFIG_JSON_BASE64 }}#g" utils/helper.go
apt-get update && apt-get install -y zip
GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -o main main.go
zip canopas_serverless_dev_${{ github.sha }}.zip main
aws s3 cp canopas_serverless_dev_${{ github.sha }}.zip s3://canopas-lambda-handlers
Expand Down
4 changes: 2 additions & 2 deletions nuxt-frontend/stores/author/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ export const useAuthorListStore = defineStore("authors", {
this.error = null;

let published = showDrafts
? "&is_published=false"
: "&is_published=true";
? "is_published=false"
: "is_published=true";

const limitQuery = limit ? "&skip=" + start + "&limit=" + limit : "";

Expand Down
8 changes: 4 additions & 4 deletions nuxt-frontend/stores/resources/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ export const useBlogListStore = defineStore("blog-list", {
this.error = null;

let published = showDrafts
? "&is_published=false"
: "&is_published=true";
? "is_published=false"
: "is_published=true";

const limitQuery = limit ? "&skip=" + start + "&limit=" + limit : "";

Expand Down Expand Up @@ -74,8 +74,8 @@ export const useBlogListStore = defineStore("blog-list", {
this.error = null;

let published = showDrafts
? "&is_published=false"
: "&is_published=true";
? "is_published=false"
: "is_published=true";

const limitQuery = limit ? "&skip=" + start + "&limit=" + limit : "";

Expand Down

0 comments on commit 93bd5aa

Please sign in to comment.