✏️ Kubernetes through the Developers Perspective #101
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 |