Skip to content

Commit

Permalink
Merge pull request chipsalliance#111 from antmicro/mczyz/fix-remote-p…
Browse files Browse the repository at this point in the history
…r-deploy

Fixes to deployment CI
  • Loading branch information
tmichalak authored Aug 28, 2023
2 parents ad37519 + 19b0263 commit 50ab6a3
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/scripts/indexgen/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ $(GENDIR)/index.md: $(SOURCES) generate.py | $(GENDIR)
# Build the final webpage. Pass the 'html' target to sphinx, copy report pages
html: Makefile $(GENDIR)/index.md
@$(SPHINXBUILD) -M $@ "$(GENDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
@rsync -avr "$(ROOTDIR)/" "$(BUILDDIR)/html"
@rsync -avr "$(ROOTDIR)/" "$(BUILDDIR)/"
@bash update_styles.sh "$(BUILDDIR)"

clean:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ jobs:
uses: ./.github/workflows/report-coverage.yml

Publish-to-GH-Pages:
concurrency:
group: concurrency-group-${{ github.repository }}-publish
cancel-in-progress: false
permissions:
actions: write
contents: write
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/gh-pages-pr-remove.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ jobs:
- name: Update the webpage
run: |
rm -rf ${{ env.ROOT_DIR }}/dev/${{ steps.PR.outputs.number }}
rm -rf ${{ env.ROOT_DIR }}/html/dev/${{ steps.PR.outputs.number }}
rm -rf ${{ env.ROOT_DIR }}/doctrees/dev/${{ steps.PR.outputs.number }}
.github/scripts/update_webpage.sh ${{ github.ref_name }} ${{ github.event_name }} ${{ steps.PR.outputs.number }}
- name: Deploy
Expand Down

0 comments on commit 50ab6a3

Please sign in to comment.