From a436332c298ebe72cdb7a112591a21feda16d4fe Mon Sep 17 00:00:00 2001 From: witmicko Date: Wed, 29 Nov 2023 14:55:26 +0000 Subject: [PATCH] gh action for backport relase --- .github/workflows/publish-gh-pages-backport.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/publish-gh-pages-backport.yml b/.github/workflows/publish-gh-pages-backport.yml index ad28542..8838d93 100644 --- a/.github/workflows/publish-gh-pages-backport.yml +++ b/.github/workflows/publish-gh-pages-backport.yml @@ -1,4 +1,4 @@ -name: Publish Backport GitHub Pages +name: Publish Backport GitHub Pages on: workflow_dispatch: @@ -8,7 +8,6 @@ env: VERSIONS: v1.0.0,v1.1.0,v1.2.1,v1.2.2 jobs: publish-to-gh-pages: - name: Publish to GitHub Pages runs-on: ubuntu-latest permissions: @@ -32,8 +31,8 @@ jobs: - name: Checkout gh-pages uses: actions/checkout@v3 with: - ref: "gh-pages" - path: "gh-pages" + ref: 'gh-pages' + path: 'gh-pages' - name: prep for pr run: | @@ -41,8 +40,8 @@ jobs: for version in "${VERSION_ARRAY[@]}"; do rm -rf "gh-pages/${version}"/* cp -r dist/* "gh-pages/${version}/" - done - + done + - name: Commit files run: | cd gh-pages