Add newsletter #34, fix blog links, refactor modal (#53) #147
This file contains hidden or 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: Build and Deploy | |
| on: | |
| push: | |
| branches: | |
| - master | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout 🛎️ | |
| uses: actions/checkout@v4 | |
| with: | |
| persist-credentials: false | |
| - name: Cache deps | |
| uses: actions/cache@v4 | |
| with: | |
| path: | | |
| **/node_modules | |
| key: deps-${{ hashFiles('**/yarn.lock') }} | |
| restore-keys: | | |
| deps- | |
| - name: Install ⚙️ | |
| run: | | |
| yarn install | |
| - name: Build 🔨 | |
| env: | |
| NODE_ENV: production | |
| run: | | |
| yarn build | |
| - name: Deploy 🚀 | |
| uses: JamesIves/github-pages-deploy-action@4.0.0 | |
| with: | |
| repository-name: anycable/anycable.github.io | |
| branch: gh-pages | |
| folder: dist | |
| clean: true | |
| token: ${{ secrets.ACCESS_TOKEN }} |