chore(docs, cd): correct workflow name in tutorial

This commit is contained in:
Cotes Chung 2022-09-25 01:58:54 +08:00
parent 3878815852
commit 8bcdd87891
No known key found for this signature in database
GPG key ID: 0D9E54843167A808
2 changed files with 2 additions and 3 deletions

View file

@ -1,4 +1,4 @@
name: "Build and deploy"
name: "Build and Deploy"
on:
push:
branches:
@ -60,7 +60,6 @@ jobs:
path: "_site${{ steps.pages.outputs.base_path }}"
deploy:
name: "Deploy site"
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}

View file

@ -113,7 +113,7 @@ Now publish your Jekyll site:
1. Browse to your repository on GitHub. Select the tab _Settings_, then click _Pages_ in the left navigation bar. Then, in the **Source** section (under _Build and deployment_), select [**GitHub Actions**][pages-workflow-src] from the dropdown menu.
2. Push any commit to remote to trigger the GitHub Actions workflow. In the _Actions_ tab of your repository, you should see the "Deploy Jekyll with GitHub Pages" workflow with at least one job running. Once the build is complete and successful, the site should be deployed automatically.
2. Push any commit to remote to trigger the GitHub Actions workflow. In the _Actions_ tab of your repository, you should see the workflow _Build and Deploy_ running. Once the build is complete and successful, the site should be deployed automatically.
3. Visit your website at the address indicated by GitHub.