Skip to content
This repository has been archived by the owner on Dec 6, 2024. It is now read-only.

Commit

Permalink
fix CORS issue
Browse files Browse the repository at this point in the history
  • Loading branch information
varex83 committed Nov 6, 2023
1 parent d70600a commit 4f75106
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/api-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ jobs:
aws-region: us-east-2
role-to-assume: arn:aws:iam::599564732950:role/Aws-GH-Action-Assume-Role-ZKSync
role-session-name: GHZKSync

- name: Login to Amazon ECR
id: login-ecr
uses: aws-actions/amazon-ecr-login@v1
Expand All @@ -75,21 +75,21 @@ jobs:
# curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- --default-toolchain stable -y
# rustup update
# rustup component add clippy
# rustup install nightly
# rustup install nightly
# sudo apt install musl-tools
# rustup target add x86_64-unknown-linux-musl


# - name: Toolchains info
# run: |
# cargo --version --verbose
# rustc --version
# cargo clippy --version
# cargo clippy --version

# - name: Build
# run: |
# cd api
# cargo build --target=x86_64-unknown-linux-musl
# cargo build --target=x86_64-unknown-linux-musl
# ls ./target/debug/ -al

- name: Build, tag, and push docker image to Amazon ECR
Expand Down Expand Up @@ -130,7 +130,7 @@ jobs:
# inject the expected React package URL for CORS logic
environment-variables: |
RUST_LOG=INFO
VITE_URL=https://zksync-cairo-remix-dev.nethermind.io
VITE_URL=https://zksync-plugin.nethermind.dev
PROMTAIL_USERNAME=${{secrets.PROMTAIL_USERNAME}}
PROMTAIL_PASSWORD=${{secrets.PROMTAIL_PASSWORD}}
Expand Down

0 comments on commit 4f75106

Please sign in to comment.