Skip to content

Merge pull request #1847 from kewtree1408/move-away-from-Cloud9 #85

Merge pull request #1847 from kewtree1408/move-away-from-Cloud9

Merge pull request #1847 from kewtree1408/move-away-from-Cloud9 #85

Workflow file for this run

---
name: Build and Deploy
on:
push:
branches:
- master
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
persist-credentials: false
- name: Install and Build
run: |
npm install
npx honkit build
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: _book
deploy:
needs: build
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4