From f9ac38d93fd7097fab5afe2a6d799c7d6bd715b6 Mon Sep 17 00:00:00 2001 From: James Ives Date: Mon, 10 Jan 2022 08:32:58 -0500 Subject: [PATCH] Adds versioning change --- .github/workflows/version.yml | 13 +++++++++++++ README.md | 12 ++++++------ 2 files changed, 19 insertions(+), 6 deletions(-) create mode 100644 .github/workflows/version.yml diff --git a/.github/workflows/version.yml b/.github/workflows/version.yml new file mode 100644 index 00000000..b9c0e71c --- /dev/null +++ b/.github/workflows/version.yml @@ -0,0 +1,13 @@ +name: Update Major Version Tag + +on: + push: + tags: + - "v*" + +jobs: + update-majorver: + name: Update Major Version Tag + runs-on: ubuntu-latest + steps: + - uses: nowactions/update-majorver@v1 \ No newline at end of file diff --git a/README.md b/README.md index 071a2f52..4dce28c6 100644 --- a/README.md +++ b/README.md @@ -60,7 +60,7 @@ jobs: npm run build - name: Deploy 🚀 - uses: JamesIves/github-pages-deploy-action@4.2.1 + uses: JamesIves/github-pages-deploy-action@v4.2.3 with: branch: gh-pages # The branch the action should deploy to. folder: build # The folder the action should deploy. @@ -178,7 +178,7 @@ With this configured you can then set the `ssh-key` part of the action to your p ```yml - name: Deploy 🚀 - uses: JamesIves/github-pages-deploy-action@4.2.1 + uses: JamesIves/github-pages-deploy-action@v4.2.3 with: branch: gh-pages folder: site @@ -207,7 +207,7 @@ jobs: npm run build - name: Deploy 🚀 - uses: JamesIves/github-pages-deploy-action@4.2.1 + uses: JamesIves/github-pages-deploy-action@v4.2.3 with: branch: gh-pages folder: build @@ -274,7 +274,7 @@ jobs: name: site - name: Deploy 🚀 - uses: JamesIves/github-pages-deploy-action@4.2.1 + uses: JamesIves/github-pages-deploy-action@v4.2.3 with: branch: gh-pages folder: 'site' # The deployment folder should match the name of the artifact. Even though our project builds into the 'build' folder the artifact name of 'site' must be placed here. @@ -295,7 +295,7 @@ If you use a [container](https://help.github.com/en/actions/automating-your-work apt-get update && apt-get install -y rsync - name: Deploy 🚀 - uses: JamesIves/github-pages-deploy-action@4.2.1 + uses: JamesIves/github-pages-deploy-action@v4.2.3 ``` --- @@ -326,7 +326,7 @@ jobs: npm run build - name: Deploy 🚀 - uses: JamesIves/github-pages-deploy-action@4.2.1 + uses: JamesIves/github-pages-deploy-action@v4.2.3 with: branch: gh-pages folder: build