diff --git a/.editorconfig b/.editorconfig index d208d392..3568c9f9 100644 --- a/.editorconfig +++ b/.editorconfig @@ -9,6 +9,11 @@ charset = utf-8 trim_trailing_whitespace = true insert_final_newline = true +[*.yml] +indent_style = space +indent_size = 2 + + [*.md] trim_trailing_whitespace = false diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml new file mode 100644 index 00000000..4a37ef35 --- /dev/null +++ b/.github/workflows/publish.yml @@ -0,0 +1,20 @@ +name: Publish +on: + release: + types: [published] +jobs: + publish-quarkus-blueprint: + runs-on: ubuntu-latest + strategy: + fail-fast: true + steps: + - name: Checkout quarkus blueprint repository + uses: actions/checkout@v3 + - uses: actions/setup-node@v3 + with: + node-version: 16 + registry-url: 'https://registry.npmjs.org' + - run: npm install + - run: npm publish + env: + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN } diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml deleted file mode 100644 index 843cb57d..00000000 --- a/.github/workflows/release.yml +++ /dev/null @@ -1,20 +0,0 @@ -name: Release quarkus blueprint -on: - release: - types: [created] -jobs: - publish-quarkus-blueprint: - runs-on: ubuntu-latest - strategy: - fail-fast: true - steps: - - name: Checkout quarkus blueprint repository - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 - with: - node-version: 16 - registry-url: 'https://registry.npmjs.org' - - run: npm install - - run: npm publish - env: - NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}