update server with uniswap endpoint #1
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: Push to Upstream | |
on: | |
push: | |
branches: | |
- main | |
permissions: | |
contents: write | |
jobs: | |
push-upstream: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout main branch | |
uses: actions/checkout@v3 | |
with: | |
ref: main | |
- name: Set up Git | |
run: | | |
git config user.name "${{ github.actor }}" | |
git config user.email "${{ github.actor }}@users.noreply.github.com" | |
env: | |
UPSTREAM_REPO: 'https://github.com/plancia/baluni-ui.git' # Replace with your upstream repository URL | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- name: Push to upstream | |
run: | | |
git remote add upstream $UPSTREAM_REPO | |
git push upstream main --force | |
env: | |
UPSTREAM_REPO: 'https://github.com/plancia/baluni-ui.git' # Replace with your upstream repository URL | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |