Skip to content

Commit

Permalink
remove old github pages deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
pietroalbini committed May 23, 2024
1 parent 24b56e8 commit 97f14cb
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,6 @@ jobs:
with:
path: docs/build/html


deploy-docs:
if: github.event_name == 'push' && github.ref == 'refs/heads/staging'
environment:
Expand All @@ -138,7 +137,6 @@ jobs:
uses: actions/deploy-pages@v4
id: github-pages


build-finished:
name: CI build successful
runs-on: ubuntu-latest
Expand All @@ -148,19 +146,5 @@ jobs:
- docs
- license
steps:
- name: Download built documentation for publishing
uses: actions/download-artifact@v3
with:
name: docs
path: /tmp/docs
if: github.event_name == 'push' && github.ref == 'refs/heads/staging'

- name: Publish the documentation to GitHub Pages
uses: ferrous-systems/shared-github-actions/github-pages@main
with:
path: /tmp/docs
token: ${{ secrets.GITHUB_TOKEN }}
if: github.event_name == 'push' && github.ref == 'refs/heads/staging'

- name: Mark the build as successful
run: exit 0

0 comments on commit 97f14cb

Please sign in to comment.