Skip to content

update create gh pages workflow #5

update create gh pages workflow

update create gh pages workflow #5

name: create gh pages
on:
push:
branches:
- feature/update-changelog-v1.38
jobs:
Create-AND-PUBLISH-GH-PAGES:
runs-on: windows-latest
steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: Check out old gh pages
uses: actions/checkout@v4
with:

Check failure on line 15 in .github/workflows/create-gh-pages.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/create-gh-pages.yml

Invalid workflow file

You have an error in your yaml syntax on line 15
path: _gh_pages
ref: gh-pages
- name: build pages
run: libs/GitHubPagesGenerator.exe -i "${{ github.workspace }}" -s "${{ github.workspace }}/Sitemap.json" -c "${{ github.workspace }}" -o _gh_pages -t "JSON API Spec-Version 1.38"
- name: push gh pages
uses: s0/git-publish-subdir-action@develop
env:
REPO: self
BRANCH: gh-pages-test
FOLDER: _gh_pages
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
MESSAGE: "Updated Github pages"