Skip to content

add implement hijacker in http response wrapper #209

add implement hijacker in http response wrapper

add implement hijacker in http response wrapper #209

Workflow file for this run

name: deploy
on:
push:
tags: [ v* ]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.21
- name: Setup GCP
id: 'auth'
uses: 'google-github-actions/auth@v1'
with:
credentials_json: '${{ secrets.GCS_SA_KEY }}'
- name: 'Set up Cloud SDK'
uses: 'google-github-actions/setup-gcloud@v1'
- name: Build binaries
run: |
mkdir candi
GOOS=linux GOARCH=amd64 go build -o candi/candi-linux cmd/candi/*.go
GOOS=darwin GOARCH=amd64 go build -o candi/candi-osx cmd/candi/*.go
GOOS=windows GOARCH=amd64 go build -o candi/candi-x64.exe cmd/candi/*.go
GOOS=windows GOARCH=386 go build -o candi/candi-x86.exe cmd/candi/*.go
- name: Deploy
run: |-
gsutil -m rsync -R candi gs://agungdp/bin/candi
gsutil acl -r ch -u AllUsers:R gs://agungdp/bin/candi