Merge pull request #42 from symbioticfi/fix-vote-ext #50
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: Go | |
on: [push] | |
jobs: | |
build: | |
environment: build | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Go 1.22.5 | |
uses: actions/setup-go@v5 | |
with: | |
go-version: 1.22.5 | |
- name: build application | |
run: make build-sym | |
- name: Configure AWS Credentials | |
uses: aws-actions/configure-aws-credentials@v4 | |
with: | |
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} | |
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} | |
aws-region: eu-central-1 | |
#- name: tmp | |
# run: ./build/symd version | |
- name: Deploy static site to S3 bucket | |
run: aws s3 cp ./build/symd s3://cosmos-symbiotic-fi/symd-${{ github.sha }} --acl public-read |