Merge pull request #64 from saferpay/feature/changelog_for_version_1.42 #23
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
name: create gh pages | |
on: | |
push: | |
branches: | |
- master | |
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: | |
ref: gh-pages | |
path: _gh_pages | |
- name: build new version page | |
run: libs/GitHubPagesGenerator.exe -i "${{ github.workspace }}" -s "${{ github.workspace }}/Sitemap.json" -c "${{ github.workspace }}" -o _gh_pages -t "JSON API Spec-Version 1.42" | |
- name: push updated gh pages | |
uses: s0/git-publish-subdir-action@develop | |
env: | |
REPO: self | |
BRANCH: gh-pages | |
FOLDER: _gh_pages | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
MESSAGE: "Updated Github pages" |