Skip to content

test: enable offline test by renaming file to correct pattern (#7696) #4301

test: enable offline test by renaming file to correct pattern (#7696)

test: enable offline test by renaming file to correct pattern (#7696) #4301

Workflow file for this run

name: Deploy
on:
push:
branches:
- main
schedule:
- cron: '0 0 * * *'
jobs:
deploy:
name: Deploy Site
strategy:
matrix:
os: [ubuntu-latest]
node-version: [lts/*]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
with:
node-version: ${{ matrix.node-version }}
cache: yarn
- name: Enable webpack persistent caching
uses: ./.github/actions/webpack-persistent-cache
- run: yarn --frozen-lockfile
- name: Build site
run: yarn build
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
OPENCOLLECTIVE_API_KEY: ${{secrets.OPENCOLLECTIVE_API_KEY}}
- run: yarn lint:links
- name: Deploy
uses: JamesIves/github-pages-deploy-action@4a3abc783e1a24aeb44c16e869ad83caf6b4cc23 # v4.7.4
with:
token: ${{ secrets.GITHUB_TOKEN }}
folder: dist
clean: true