added new PBA logo and favicon (#870) #639
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
# Note gh-pages is *not* the host presently, fleek is. | |
# Fleek renders files when a push to `gh-pages` by this CI happens. | |
name: Build and deploy to `gh-pages` | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
gh-pages: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Yarn | |
uses: bahmutov/npm-install@HEAD | |
with: | |
working-directory: . | |
- name: Build internal use static slides | |
run: | | |
yarn build-internal-static-slides | |
- name: Deploy `internal-static-slides` branch https://do-not-share-pba-internal.on.fleek.co/ | |
uses: crazy-max/ghaction-github-pages@v2 | |
with: | |
target_branch: internal-static-slides | |
build_dir: build | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- name: Build student use static slides | |
run: | | |
yarn build-student-static-slides | |
- name: Deploy `student-static-slides` branch to https://polkadot-blockchain-academy.on.fleek.co/ | |
uses: crazy-max/ghaction-github-pages@v2 | |
with: | |
target_branch: student-static-slides | |
build_dir: build | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |