Skip to content

Commit

Permalink
fix: Remove deploy again to verify a few other things
Browse files Browse the repository at this point in the history
  • Loading branch information
yhakbar committed Jul 11, 2024
1 parent 2ecfa9b commit 1e6c1ab
Showing 1 changed file with 17 additions and 11 deletions.
28 changes: 17 additions & 11 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,23 +40,29 @@ jobs:
- name: Build with Jekyll
# Outputs to the './_site' directory by default
working-directory: docs
run: bundle exec jekyll build --baseurl "${{ steps.pages.outputs.base_path }}"
run: bundle exec jekyll build
env:
JEKYLL_ENV: production
- name: Upload artifact
# Automatically uploads an artifact from the './_site' directory by default
uses: actions/upload-pages-artifact@v3
with:
path: docs/_site
- name: Confirm page URL
env:
PAGES_URL: ${{ steps.pages.outputs.url }}
run: echo "The site will be available at $PAGES_URL"

# We're not deploying yet, as we're making sure the build is successful first

# Deployment job
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
# deploy:
# environment:
# name: github-pages
# url: ${{ steps.deployment.outputs.page_url }}
# runs-on: ubuntu-latest
# needs: build
# steps:
# - name: Deploy to GitHub Pages
# id: deployment
# uses: actions/deploy-pages@v4

0 comments on commit 1e6c1ab

Please sign in to comment.