Skip to content

Add 25Fall new member Yingqi #62

Add 25Fall new member Yingqi

Add 25Fall new member Yingqi #62

Workflow file for this run

# This is a basic workflow to do the last time check before release, i.e., merge to main branch
# Simple workflow for deploying static content to GitHub Pages
name: Deploy Preview to GitHub Pages
on:
# Runs on pushes targeting the release branch
push:
branches: [main]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write
# Allow one concurrent deployment
concurrency:
group: 'preview'
cancel-in-progress: true
jobs:
# Single deploy job since we're just deploying
deploy:
environment:
name: Preview
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup Pages
uses: actions/configure-pages@v2
- name: Setup Node.js environment
uses: actions/[email protected]
with:
node-version: 16.x
# cache: 'yarn'
- name: Install dependencies
run: yarn
- name: Build
run: |
export PUBLIC_URL=${{ vars.PUBLIC_URL }}
yarn build
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
# Upload entire repository
path: 'build'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
with:
preview: true