diff --git a/.github/workflows/webpack.yml b/.github/workflows/webpack.yml index 62080be..17b5d69 100644 --- a/.github/workflows/webpack.yml +++ b/.github/workflows/webpack.yml @@ -58,12 +58,19 @@ jobs: git fetch git checkout build echo "Checkout to branch :build" - mv docs_copy/ docs/ - git add docs/ + + - name: Paste folder contents + run: | + mv docs_copy/ docs/ + + - name: Commit changes + run: | + git add docs/ -f version=$(echo "${{ github.ref }}" | sed 's/refs\/tags\/v//') echo "Tag version: $version" git commit -m "update version to v$version" - git push + git push + \ No newline at end of file