update Elixir and Erlang versions #74
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
name: Deploy Site | |
on: | |
push: | |
branches: [ main ] | |
jobs: | |
site: | |
runs-on: ubuntu-latest | |
steps: | |
- run: 'git config --global url."https://github.com/".insteadOf [email protected]:' | |
- run: 'git config --global url."https://".insteadOf git://' | |
- uses: actions/checkout@v2 | |
- uses: erlef/setup-elixir@v1 | |
with: | |
otp-version: '26.1.2' | |
elixir-version: '1.14.4' | |
- name: Restore Cache | |
uses: actions/cache@v2 | |
id: mix-cache | |
with: | |
path: | | |
deps | |
_build | |
_site | |
key: mix-${{ hashFiles('mix.lock') }} | |
- run: MIX_ENV=prod mix deps.get | |
- run: MIX_ENV=prod mix still.compile | |
- uses: peaceiris/actions-gh-pages@v3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: ./_site |