Skip to content

Merge pull request #50 from IEEEUCSC/2024 #19

Merge pull request #50 from IEEEUCSC/2024

Merge pull request #50 from IEEEUCSC/2024 #19

Workflow file for this run

name: Deploy to GitHub Pages
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ vars.URL }}
permissions:
pages: write
id-token: write
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 16
- name: Install dependencies
run: npm ci
- name: Build
run: npm run build
- name: Add CNAME
run: touch build/CNAME && echo ${{ vars.URL }} > build/CNAME
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
name: github-pages
path: build
- name: Deploy to GitHub Pages
uses: actions/deploy-pages@v2