Fix CodeSpaces script (hugo compatibility) (#222) #111
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: "Build Docker / Codespaces container" | |
on: | |
push: | |
jobs: | |
build-all: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Clone repository | |
uses: actions/checkout@v3 | |
- name: Build Docker image | |
run: docker build . -t ict-web -f Dockerfile | |
- name: Build web in docker image | |
run: docker run --rm -v ${PWD}:/code -w /code -t ict-web /bin/bash -c 'npm install && hugo' |