rollback Lettuce to previous Major version (#1082) #44
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: Microsite | |
| on: | |
| # to allow the manual trigger workflows | |
| workflow_dispatch: {} | |
| push: | |
| branches: | |
| - series/2.x | |
| paths: | |
| - "site/**" | |
| - "**/README.md" | |
| jobs: | |
| publish: | |
| env: | |
| GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v2.3.2 | |
| with: | |
| fetch-depth: 0 # fetch all branches & tags | |
| - name: "Install Nix ❄️" | |
| uses: cachix/install-nix-action@v31.2.0 | |
| - name: "Install Cachix ❄️" | |
| uses: cachix/cachix-action@v16 | |
| with: | |
| name: profunktor | |
| authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}" | |
| - name: "Building and publishing microsite 🚧" | |
| run: nix run .#sbt -- publishSite |