Skip to content

Commit

Permalink
try different container
Browse files Browse the repository at this point in the history
  • Loading branch information
zeroedin committed Jun 27, 2024
1 parent 9aefe23 commit 0660d86
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,16 @@ jobs:
ref: main

- name: Deploy Current Version
uses: peaceiris/actions-gh-pages@v4
uses: JamesIves/github-pages[email protected]
# If you're changing the branch from main,
# also change the `main` in `refs/heads/main`
# below accordingly.
if: github.ref == 'refs/heads/main'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./
keep_files: true
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages
FOLDER: ./
TARGET_FOLDER: ./


deploy-v1:
Expand All @@ -42,13 +43,13 @@ jobs:
ref: release/v1

- name: Deploy Version 1
uses: peaceiris/actions-gh-pages@v4
uses: JamesIves/github-pages[email protected]
# If you're changing the branch from main,
# also change the `main` in `refs/heads/main`
# below accordingly.
if: github.ref == 'refs/heads/release/v1'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./
destination_dir: './v1'
keep_files: true
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages
FOLDER: ./
TARGET_FOLDER: ./v1/

0 comments on commit 0660d86

Please sign in to comment.