π supported by Zicer #60
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 landing page to GitHub Pages | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- web/** | |
permissions: | |
contents: write | |
jobs: | |
deploy: | |
name: Deploy to GitHub Pages | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install dependencies and build | |
run: | | |
cd web | |
npm ci | |
npm run build | |
- name: Deploy to GitHub Pages | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
personal_token: ${{ secrets.PERSONAL_TOKEN }} | |
publish_dir: ./web/build | |
external_repository: cyclops-ui/cyclops-ui.github.io | |
cname: cyclops-ui.com |