Bump @tinacms/cli from 1.5.31 to 1.5.33 #21
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
#Sample workflow for building and deploying a Jekyll site to GitHub Pages | |
name: PR Build with Jekyll + TinaCMS before approving merge to main | |
on: | |
# Runs on pushes targeting the default branch | |
pull_request: | |
branches: ["main"] | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages | |
permissions: | |
contents: write | |
pages: write | |
id-token: write | |
# Allow one concurrent deployment | |
concurrency: | |
group: "pages" | |
cancel-in-progress: true | |
jobs: | |
# Build job | |
build: | |
runs-on: ubuntu-latest | |
# env: | |
# TBA_AUT_KEY: ${{ secrets.TBA_API_KEY }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Setup Pages | |
uses: actions/configure-pages@v2 | |
- name: install Node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: "16" | |
- name: run NPM Install | |
run: npm install | |
- name: run NPM CI | |
run: npm ci | |
- name: Build TinaCMS | |
env: | |
TINA_PUBLIC_CLIENT_ID: ${{ secrets.TINA_PUBLIC_CLIENT_ID }} | |
TINA_TOKEN: ${{ secrets.TINA_TOKEN }} | |
HEAD: ${{ github.head_ref}} | |
TINA_SEARCH: ${{secrets.TINA_SEARCH}} | |
run: npx tinacms build | |
- name: Build with Jekyll | |
uses: actions/jekyll-build-pages@v1 | |
with: | |
source: ./ | |
destination: ./_site | |