Minor typo fixes and rewording in “A break from programming languages” #14
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: deploy | |
on: {push: {branches: [source]}} | |
defaults: | |
run: | |
working-directory: repo | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: { path: repo } | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: '14' | |
- uses: Bogdanp/setup-racket@v1.5 | |
with: | |
version: '8.1' | |
dest: '$GITHUB_WORKSPACE/racket' | |
sudo: never | |
- name: install | |
run: | | |
yarn install | |
raco pkg install --batch --installation --auto --update-deps --link blog | |
- name: build | |
run: | | |
yarn run build | |
racket blog/build.rkt | |
- name: deploy | |
run: | | |
cd output | |
git init -b gh-pages | |
git config user.name 'GitHub Actions' | |
git config user.email 'lexi.lambda@gmail.com' | |
git add . | |
git commit -m 'Deploy to GitHub Pages' | |
git push --force 'https://lexi-lambda:${{ github.token }}@github.com/${{ github.repository }}' gh-pages |