Skip to content

Commit

Permalink
update actions
Browse files Browse the repository at this point in the history
  • Loading branch information
zeroedin committed Jun 27, 2024
1 parent d3f9c76 commit ae4ac19
Showing 1 changed file with 8 additions and 10 deletions.
18 changes: 8 additions & 10 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,11 @@ jobs:
- name: Deploy Current Version
uses: JamesIves/github-pages-deploy-action@4
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages
branch: gh-pages
FOLDER: ./
TARGET_FOLDER: ./
CLEAN: true
CLEAN_EXCLUDE: '["v1"]'
target-folder: ./
clean: true
clean-exclude: '["v1"]'

deploy-v1:
runs-on: ubuntu-latest
Expand All @@ -42,8 +41,7 @@ jobs:
- name: Deploy Version One
uses: JamesIves/github-pages-deploy-action@v4
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages
FOLDER: ./
TARGET_FOLDER: ./v1/
CLEAN: true
branch: gh-pages
folder: ./
target-folder: ./v1/
clean: true

0 comments on commit ae4ac19

Please sign in to comment.