updated team & past officer data + minor changes #12
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |