Merge branch 'docusaurus' into docusaurus-lost-pixel #2
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
name: Lost Pixel | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Setup Node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18.x | |
- name: Install dependencies | |
run: npm install | |
- name: Build docs | |
run: npm run clean & npm run build | |
- name: Start docs | |
run: npm run serve & | |
- name: Generate Sitemap | |
run: npx lost-pixel page-sitemap-gen http://172.17.0.1:3000/sitemap.xml "./lost-pixel-pages.json" | |
- name: Lost Pixel | |
uses: lost-pixel/[email protected] | |
env: | |
LOST_PIXEL_API_KEY: ${{ secrets.LOST_PIXEL_API_KEY }} |