Rename tutorial to quickstart (#1250)
## Description There was a missed link to tutorial in main page in https://github.com/alcionai/corso/pull/1245. Fixes that. Also enabled docs build (not push) for docs in CI as that is pretty fast anyways. Fixes `Push-Docs` job failing in `main`. ## Type of change <!--- Please check the type of change your PR introduces: ---> - [ ] 🌻 Feature - [ ] 🐛 Bugfix - [x] 🗺️ Documentation - [ ] 🤖 Test - [ ] 💻 CI/Deployment - [ ] 🐹 Trivial/Minor ## Issue(s) <!-- Can reference multiple issues. Use one of the following "magic words" - "closes, fixes" to auto-close the Github issue. --> * #<issue> ## Test Plan <!-- How will this be tested prior to merging.--> - [x] 💪 Manual - [ ] ⚡ Unit test - [x] 💚 E2E
This commit is contained in:
parent
d3ea669be4
commit
e3c16e1793
16
.github/workflows/ci.yml
vendored
16
.github/workflows/ci.yml
vendored
@ -198,7 +198,6 @@ jobs:
|
||||
|
||||
SetEnv:
|
||||
environment: Testing
|
||||
if: startsWith(github.ref, 'refs/tags/') || github.ref == 'refs/heads/main'
|
||||
runs-on: ubuntu-latest
|
||||
outputs:
|
||||
environment: ${{ steps.set-env.outputs.environment }}
|
||||
@ -259,7 +258,7 @@ jobs:
|
||||
needs: [Test-Suite, Linting, Docs-Linting, SetEnv]
|
||||
environment: ${{ needs.SetEnv.outputs.environment }}
|
||||
runs-on: ubuntu-latest
|
||||
if: startsWith(github.ref, 'refs/tags/') || github.ref == 'refs/heads/main'
|
||||
if: startsWith(github.ref, 'refs/tags/') || github.ref == 'refs/heads/main' || needs.precheck.outputs.docfileschanged == 'true' # docsfileschanged also includes srcfileschanged
|
||||
defaults:
|
||||
run:
|
||||
working-directory: docs
|
||||
@ -273,24 +272,27 @@ jobs:
|
||||
name: cli-docs
|
||||
path: docs/docs/cli
|
||||
|
||||
- name: Build docs
|
||||
run: |
|
||||
npm ci
|
||||
CORSO_DOCS_BASEURL="/preview/" npm run build # TODO: update base url once finalized
|
||||
|
||||
- name: Configure AWS credentials from Test account
|
||||
if: startsWith(github.ref, 'refs/tags/') || github.ref == 'refs/heads/main'
|
||||
uses: aws-actions/configure-aws-credentials@v1
|
||||
with:
|
||||
role-to-assume: ${{ secrets.AWS_IAM_ROLE }}
|
||||
role-session-name: integration-testing
|
||||
aws-region: us-east-1
|
||||
|
||||
- name: Build docs
|
||||
run: |
|
||||
npm ci
|
||||
CORSO_DOCS_BASEURL="/preview/" npm run build # TODO: update base url once finalized
|
||||
|
||||
- name: Push docs
|
||||
if: startsWith(github.ref, 'refs/tags/') || github.ref == 'refs/heads/main'
|
||||
run: |
|
||||
echo "$DOCS_BUCKET" | base64
|
||||
aws s3 sync build "s3://${{ secrets.DOCS_S3_BUCKET }}/preview"
|
||||
|
||||
- name: Invalidate cloudfront
|
||||
if: startsWith(github.ref, 'refs/tags/') || github.ref == 'refs/heads/main'
|
||||
run: |
|
||||
aws cloudfront create-invalidation --distribution-id ${{ secrets.DOCS_CF_DISTRIBUTION }} --paths "/*"
|
||||
|
||||
|
||||
@ -16,8 +16,8 @@ function HomepageHeader() {
|
||||
<div className={styles.buttons}>
|
||||
<Link
|
||||
className="button button--secondary button--lg"
|
||||
to="tutorial">
|
||||
Corso Tutorial - 5min ⏱️
|
||||
to="quickstart">
|
||||
Corso Quickstart - 5min ⏱️
|
||||
</Link>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user