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

Merge pull request #129 from axone-protocol/dependabot/npm_and_yarn/t… #111

Merge pull request #129 from axone-protocol/dependabot/npm_and_yarn/t…

Merge pull request #129 from axone-protocol/dependabot/npm_and_yarn/t… #111

Workflow file for this run

name: Publish
on:
workflow_dispatch:
push:
branches: [main]
concurrency:
group: publish-${{ github.ref }}
cancel-in-progress: true
jobs:
publish-gh-pages:
runs-on: ubuntu-22.04
environment: github-pages
env:
NEXT_PUBLIC_MATOMO_URL: ${{ vars.MATOMO_URL }}
NEXT_PUBLIC_MATOMO_SITE_ID: ${{ vars.MATOMO_SITE_ID }}
steps:
- name: Check out repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup node environment (for building)
uses: actions/setup-node@v4
with:
node-version: '18.20'
cache: yarn
- name: Fetch dependencies
run: |
yarn --frozen-lockfile
- name: Build website
run: |
yarn build
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.OPS_TOKEN }}
publish_dir: ./out
cname: axone.xyz