Skip to content

working on the guides fleetops #7

working on the guides fleetops

working on the guides fleetops #7

Workflow file for this run

name: Fleetbase Guides CI
on:
push:
branches: [ main ]
tags:
- 'v*'
pull_request:
branches: [ main ]
permissions:
contents: read
pages: write
id-token: write
jobs:
build:
runs-on: ubuntu-latest
env:
GITHUB_PAGES_ENV: true
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 16.x
- name: Install dependencies
run: yarn install
- name: Build
run: yarn build
- name: Upload artifact
uses: actions/upload-pages-artifact@v1.0.8
with:
name: github-pages
path: ./build
deploy:
needs: build
runs-on: ubuntu-latest
permissions:
pages: write
id-token: write
environment:
name: github-pages
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2
- name: Print the URL
run: echo "Deployed to ${{ steps.deployment.outputs.page_url }}"