Skip to content

Commit

Permalink
update doc.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Zyie committed Jan 24, 2023
1 parent 22e6e3e commit 6da04c5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
build-and-deploy:
concurrency: ci-${{ github.ref }} # Recommended if you intend to make multiple deployments in quick succession.
runs-on: ubuntu-latest
if: contains(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/docs' || github.ref == 'refs/heads/main'
if: contains(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/docs' || github.ref == 'refs/heads/master'
steps:
- name: Checkout 🛎️
uses: actions/checkout@v3
Expand All @@ -19,7 +19,7 @@ jobs:
- name: Install and Build 🔧
run: |
npm ci
npm run build:docs
npx nx run @pixi/react-pixi-docs:build
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4
with:
Expand Down
5 changes: 0 additions & 5 deletions packages/docs/src/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,6 @@ function HomepageHeader()
<h1 className="hero__title">{siteConfig.title}</h1>
<p className="hero__subtitle">{siteConfig.tagline}</p>
<div className={styles.buttons}>
<Link
className="button button--secondary button--lg"
to="/docs/intro">
Docusaurus Tutorial - 5min ⏱️
</Link>
</div>
</div>
</header>
Expand Down

0 comments on commit 6da04c5

Please sign in to comment.