@@ -57,40 +57,40 @@ jobs:
5757# Enter this token as a GitHub secret (with name NPM_TOKEN) in the repository options
5858# Then uncomment the following block:
5959
60- # # Deploys the final package to NPM
61- # deploy:
62- # needs: [check-and-lint, adapter-tests]
63- #
64- # # Trigger this step only when a commit on any branch is tagged with a version number
65- # if: |
66- # contains(github.event.head_commit.message, '[skip ci]') == false &&
67- # github.event_name == 'push' &&
68- # startsWith(github.ref, 'refs/tags/v')
69- #
70- # runs-on: ubuntu-latest
71- #
72- # # Write permissions are required to create Github releases
73- # permissions:
74- # contents: write
75- #
76- # steps:
77- # - uses: ioBroker/testing-action-deploy@v1
78- # with:
79- # node-version: '16.x'
80- # # Uncomment the following line if your adapter cannot be installed using 'npm ci'
81- # # install-command: 'npm install'
82- # build: true
83- # npm-token: ${{ secrets.NPM_TOKEN }}
84- # github-token: ${{ secrets.GITHUB_TOKEN }}
85- #
86- # # When using Sentry for error reporting, Sentry can be informed about new releases
87- # # To enable create a API-Token in Sentry (User settings, API keys)
88- # # Enter this token as a GitHub secret (with name SENTRY_AUTH_TOKEN) in the repository options
89- # # Then uncomment and customize the following block:
90- # sentry: true
91- # sentry-token: ${{ secrets.SENTRY_AUTH_TOKEN }}
92- # sentry-project: "iobroker-google-spreadsheet"
93- # sentry-version-prefix: "iobroker.google-spreadsheet"
94- # sentry-sourcemap-paths: "build/"
95- # # If your sentry project is linked to a GitHub repository, you can enable the following option
96- # # sentry-github-integration: true
60+ # Deploys the final package to NPM
61+ deploy :
62+ needs : [check-and-lint, adapter-tests]
63+
64+ # Trigger this step only when a commit on any branch is tagged with a version number
65+ if : |
66+ contains(github.event.head_commit.message, '[skip ci]') == false &&
67+ github.event_name == 'push' &&
68+ startsWith(github.ref, 'refs/tags/v')
69+
70+ runs-on : ubuntu-latest
71+
72+ # Write permissions are required to create Github releases
73+ permissions :
74+ contents : write
75+
76+ steps :
77+ - uses : ioBroker/testing-action-deploy@v1
78+ with :
79+ node-version : ' 16.x'
80+ # Uncomment the following line if your adapter cannot be installed using 'npm ci'
81+ # install-command: 'npm install'
82+ build : true
83+ npm-token : ${{ secrets.NPM_TOKEN }}
84+ github-token : ${{ secrets.GITHUB_TOKEN }}
85+
86+ # When using Sentry for error reporting, Sentry can be informed about new releases
87+ # To enable create a API-Token in Sentry (User settings, API keys)
88+ # Enter this token as a GitHub secret (with name SENTRY_AUTH_TOKEN) in the repository options
89+ # Then uncomment and customize the following block:
90+ sentry : true
91+ sentry-token : ${{ secrets.SENTRY_AUTH_TOKEN }}
92+ sentry-project : " iobroker-google-spreadsheet"
93+ sentry-version-prefix : " iobroker.google-spreadsheet"
94+ sentry-sourcemap-paths : " build/"
95+ # If your sentry project is linked to a GitHub repository, you can enable the following option
96+ # sentry-github-integration: true
0 commit comments