Skip to content

Commit

Permalink
chore: deploy latest tag
Browse files Browse the repository at this point in the history
  • Loading branch information
lajbel committed Dec 27, 2024
1 parent ae04e36 commit 27d2a41
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,21 @@ jobs:
with:
submodules: true
fetch-tags: true
- name: Get Latest Tag
uses: WyriHaximus/github-action-get-previous-tag@v1.4.0
- name: Get latest tag
uses: rexdefuror/get-latest-tag@v1.0.1
with:
prefix: 4000
token: ${{ secrets.GITHUB_TOKEN }}
owner: ${{ github.repository_owner }}
repo: "kaplayjs/kaplay"
prefix: 4000 # optional
suffix: '' # optional
regex: '' # optional
releaseOnly: true # optional
- name: Checkout submodule to v4000
run: |
cd kaplay
git fetch --tags
git checkout ${{ steps.previoustag.outputs.tag }}
git checkout ${{ env.LATEST_TAG }}
- name: Setup PNPM
uses: pnpm/action-setup@v4
- name: Deploy app
Expand Down

0 comments on commit 27d2a41

Please sign in to comment.