Berachain and Unichain can get redeems #764
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: Build and deploy gh-pages | |
on: | |
push: | |
branches: | |
- develop | |
jobs: | |
build_deploy_gh_page: | |
name: Build and Deploy Github Page | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out repos develop branch | |
uses: actions/checkout@v4 | |
with: | |
ref: "develop" | |
- name: Setup node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 18 | |
cache: yarn | |
registry-url: "https://npm.pkg.github.com" | |
scope: "@xlabs" | |
- name: Build and Deploy Github Page | |
run: | | |
yarn install | |
NODE_ENV=development yarn build | |
cp ./robots.txt ./dist/ | |
cp ./src/og_image.png ./dist/ | |
git config --global user.name "${GITHUB_ACTOR}" | |
git config --global user.email "${GITHUB_ACTOR}@users.noreply.github.com" | |
yarn dlx push-dir --dir=dist --branch=gh-pages --cleanup --verbose | |
env: | |
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} |