Skip to content

update config host

update config host #75

Workflow file for this run

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