Skip to content
This repository has been archived by the owner on Jun 20, 2024. It is now read-only.

Commit

Permalink
🐛 eliminate gh pages env from workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
omarespejel committed Oct 12, 2023
1 parent 9d9343a commit abb2f25
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/mdbook.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
# Sample workflow for building and deploying a mdBook site to GitHub Pages
#
# To get started with mdBook see: https://rust-lang.github.io/mdBook/index.html
#
name: Deploy mdBook site to Pages
name: Deploy mdBook to Production Site

on:
push:
Expand All @@ -25,13 +23,16 @@ env:

jobs:
publish:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
permissions:
contents: read # To push a branch
pages: write # To push to a GitHub Pages site
id-token: write # To update the deployment status
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Setup Rust cache
uses: ./.github/workflows/setup-rust-cache
Expand Down

0 comments on commit abb2f25

Please sign in to comment.