Skip to content

Update educationalResources #412

Update educationalResources

Update educationalResources #412

Workflow file for this run

name: ci
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/[email protected]
- uses: bahmutov/[email protected]
- run: yarn build
- uses: actions/upload-artifact@v4
with:
name: dist
path: dist
github_pages:
needs: build
runs-on: ubuntu-latest
if: github.event_name == 'push'
steps:
- uses: actions/checkout@v4
- uses: actions/download-artifact@v4
with:
name: dist
path: dist
- uses: actions/[email protected]
- run: git remote set-url origin https://git:${GITHUB_TOKEN}@github.com/${{github.repository}}.git
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- run: npx -y -p [email protected] gh-pages -d dist -u "github-actions-bot <[email protected]>"