Skip to content

Commit

Permalink
CI.......
Browse files Browse the repository at this point in the history
  • Loading branch information
HerrZatacke committed Jun 17, 2024
1 parent 587adb8 commit bea83bd
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,21 +10,21 @@ jobs:

steps:
- name: Checkout πŸ’³
uses: actions/checkout@v3.3.0
uses: actions/checkout@v4.1.7

- name: Setup node πŸ’»
uses: actions/setup-node@v3.6.0
uses: actions/setup-node@v4.0.1
with:
node-version: '20.x'
cache: 'npm'
# cache: 'npm'

- name: Add release version to environment variables 🌍
run: |
node -e "console.log('RELEASE_VERSION=' + require('./package.json').version)" >> $GITHUB_ENV
- name: Check if tag already exists 🏷
id: checkTag
uses: mukunku/tag-exists-action@v1.2.0
uses: mukunku/tag-exists-action@v1.6.0
with:
tag: ${{ env.RELEASE_VERSION }}

Expand All @@ -50,14 +50,14 @@ jobs:
cd ..
- name: Deploy to GitHub-Pages πŸ›³
uses: JamesIves/github-pages-deploy-action@v4.4.1
uses: JamesIves/github-pages-deploy-action@v4.6.1
if: steps.checkTag.outputs.exists == 'false'
with:
branch: gh-pages
folder: dist

- name: Create Release πŸŽ‰ πŸ₯³
uses: softprops/action-gh-release@v1
uses: softprops/action-gh-release@v2.0.5
if: steps.checkTag.outputs.exists == 'false'
with:
tag_name: ${{ env.RELEASE_VERSION }}
Expand Down

0 comments on commit bea83bd

Please sign in to comment.