Czy wiesz, że w Angular 17 została wprowadzona alternatywa dla *ngSwi… #130
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: Jekyll site CI | |
| on: | |
| push: | |
| branches: [ master ] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| env: | |
| JEKYLL_VERSION: 4.2.0 | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Build the site in the jekyll/builder container | |
| run: | | |
| docker run \ | |
| -v ${{ github.workspace }}:/srv/jekyll -v ${{ github.workspace }}/_site:/srv/jekyll/_site \ | |
| jekyll/builder:${{ env.JEKYLL_VERSION }} /bin/bash -c "chmod -R 777 /srv/jekyll && jekyll build --future" | |
| - name: Push the site to the master branch | |
| if: ${{ github.event_name == 'push' }} | |
| run: | | |
| sudo chown $( whoami ):$( whoami ) ${{ github.workspace }}/_site | |
| cd ${{ github.workspace }}/_site | |
| git init -b gh-pages | |
| git config user.name ${{ github.actor }} | |
| git config user.email ${{ github.actor }}@users.noreply.github.com | |
| git remote add origin https://x-access-token:${{ github.token }}@github.com/${{ github.repository }}.git | |
| git add . | |
| git commit -m "Deploy site built from commit ${{ github.sha }}" | |
| git push -f -u origin gh-pages |