Skip to content

Commit

Permalink
update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
AkihikoWatanabe committed Nov 13, 2023
1 parent b764450 commit f158256
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ jobs:
run: |
docker compose -f docker-compose.deploy.yaml build
docker compose -f docker-compose.deploy.yaml up -d
docker compose -f docker-compose.deploy.yaml exec -T paper_notes-temp_container-1 bundle install
docker compose -f docker-compose.deploy.yaml exec -T paper_notes-temp_container-1 sh -c "cd /app && python generate_html.py && bundle exec jekyll build"
docker compose -f docker-compose.deploy.yaml exec -T rails bundle install
docker compose -f docker-compose.deploy.yaml exec -T web sh -c "cd /app && python generate_html.py && bundle exec jekyll build"
docker cp paper_notes-temp_container-1:/app/_site ${{ github.workspace }}
docker rm paper_notes-temp_container-1
Expand Down

0 comments on commit f158256

Please sign in to comment.