Skip to content

Commit

Permalink
пропихиваем код
Browse files Browse the repository at this point in the history
  • Loading branch information
artpani4 committed Jul 29, 2024
1 parent 99ff925 commit 8e83cc6
Show file tree
Hide file tree
Showing 3 changed files with 57 additions and 42 deletions.
57 changes: 57 additions & 0 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
name: Publish
on:
push:
branches:
- main

jobs:
publish:
runs-on: ubuntu-latest

permissions:
contents: read
id-token: write

steps:
- uses: actions/checkout@v4

- name: Publish package
run: npx jsr publish


# name: Update and Deploy
# on:
# push:
# branches: main
# paths:
# - source/**
# pull_request:
# branches: main
# paths:
# - source/**

# jobs:
# release:
# runs-on: ubuntu-latest

# permissions:
# contents: write
# id-token: write
# pages: write

# steps:
# - name: Clone repository
# uses: actions/checkout@v3

# - name: Install Deno
# uses: denoland/setup-deno@v1
# with:
# deno-version: v1.x

# - name: Update version and deploy
# env:
# GITHUB_TOKEN: ${{ secrets.VSEPLET_GITHUB_TOKEN }}
# run: |
# git config --global user.name "github-actions[bot]"
# git config --global user.email "github-actions[bot]@users.noreply.github.com"
# deno run --allow-all --unstable-broadcast-channel --unstable-kv https://deno.land/x/automation_scripts@0.0.6/ci-cd/scripts/UpdateSemverDeployJsr.ts
36 changes: 0 additions & 36 deletions .github/workflows/publish.yml

This file was deleted.

6 changes: 0 additions & 6 deletions source/utils/pathHelper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,6 @@ export async function findDirectory(
}
}

if (directories.length > 1) {
console.log(
`Multiple directories named '${targetName}' found`,
);
}

return directories[0] || null;
}

Expand Down

0 comments on commit 8e83cc6

Please sign in to comment.